From 4e69e16fde6c7f7949143139fb492467d9b9a7ec Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 5 Jul 2023 12:14:27 +0200 Subject: [PATCH] client: use string-literals for easier grep'ing Signed-off-by: Sebastiaan van Stijn --- client/image_tag_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/image_tag_test.go b/client/image_tag_test.go index cab6d1d4f6..4937b4ffd0 100644 --- a/client/image_tag_test.go +++ b/client/image_tag_test.go @@ -42,7 +42,7 @@ func TestImageTagInvalidSourceImageName(t *testing.T) { } err := client.ImageTag(context.Background(), "invalid_source_image_name_", "repo:tag") - if err == nil || err.Error() != "Error parsing reference: \"invalid_source_image_name_\" is not a valid repository/tag: invalid reference format" { + if err == nil || err.Error() != `Error parsing reference: "invalid_source_image_name_" is not a valid repository/tag: invalid reference format` { t.Fatalf("expected Parsing Reference Error, got %v", err) } }