mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-04-18 07:03:37 +00:00
Compare commits
1 Commits
v0.18.3
...
367d5975bd
| Author | SHA1 | Date | |
|---|---|---|---|
| 367d5975bd |
@@ -58,9 +58,12 @@ func TestFilterListEmpty(t *testing.T) {
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatal("Expected error for non-existent source, but got none")
|
t.Fatal("Expected error for non-existent source, but got none")
|
||||||
}
|
}
|
||||||
if !strings.Contains(err.Error(), "No source was found by the name of `NonExistentSource`.") {
|
if !strings.Contains(
|
||||||
|
err.Error(),
|
||||||
|
"No source was found by the name of `NonExistentSource` within the canvas `Main`.",
|
||||||
|
) {
|
||||||
t.Fatalf(
|
t.Fatalf(
|
||||||
"Expected error to contain 'No source was found by the name of `NonExistentSource`.', got '%s'",
|
"Expected error to contain 'No source was found by the name of `NonExistentSource` within the canvas `Main`.', got '%s'",
|
||||||
err.Error(),
|
err.Error(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user