fix err message test

This commit is contained in:
onyx-and-iris 2025-05-28 15:50:02 +01:00
parent 8f1d42b677
commit 2228574837

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
}