Compare commits

...

1 Commits

Author SHA1 Message Date
2228574837 fix err message test 2025-05-28 15:50:02 +01:00

View File

@@ -35,8 +35,8 @@ func TestRecordStart(t *testing.T) {
if err == nil {
t.Fatalf("Expected error when starting recording while active, got nil")
}
if !strings.Contains(err.Error(), "Recording is already in progress") {
t.Fatalf("Expected error message to contain 'Recording is already in progress', got '%s'", err.Error())
if !strings.Contains(err.Error(), "recording is already in progress") {
t.Fatalf("Expected error message to contain 'recording is already in progress', got '%s'", err.Error())
}
return
}