e2e: replace '%s' with %q (#5058)

%q handles quotes inside the quoted strings better.
This commit is contained in:
Johan Brandhorst-Satzkorn authored and GitHub committed 2024-08-29 15:50:19 -07:00
1 parent 306c722750
commit 59fd2d4595
3 files changed
+4 -4

No files matched your search

@@ -85,6 +85,6 @@ func TestUserIsLoggedOutWhenAuthTokenIsDeletedCli(t *testing.T) {
)
// Expect error as the user got logged out
require.Error(t, output.Err, fmt.Sprintf("User '%s' is still logged in", testAccountName))
require.Error(t, output.Err, fmt.Sprintf("User %q is still logged in", testAccountName))
t.Log("Successfully verified that token name is invalid")
}