mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2025-06-09 13:10:35 +01:00
fix err message test
This commit is contained in:
parent
8f1d42b677
commit
2228574837
@ -35,8 +35,8 @@ func TestRecordStart(t *testing.T) {
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatalf("Expected error when starting recording while active, got nil")
|
t.Fatalf("Expected error when starting recording while active, got nil")
|
||||||
}
|
}
|
||||||
if !strings.Contains(err.Error(), "Recording is already in progress") {
|
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())
|
t.Fatalf("Expected error message to contain 'recording is already in progress', got '%s'", err.Error())
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user