pkg,service: refactor to use %q instead of "%s" (#3430)

This commit is contained in:
Oleksandr Redko
2023-07-05 18:49:08 +03:00
committed by GitHub
parent f016055457
commit 2d3fd35e04
7 changed files with 30 additions and 30 deletions

View File

@ -51,7 +51,7 @@ func TestDebugger_LaunchNoExecutablePerm(t *testing.T) {
t.Fatalf("expected error but none was generated")
}
if err != api.ErrNotExecutable {
t.Fatalf("expected error \"%s\" got \"%v\"", api.ErrNotExecutable, err)
t.Fatalf("expected error %q got \"%v\"", api.ErrNotExecutable, err)
}
}