Skip to content

Commit

Permalink
Update a test per c/image pull 2408
Browse files Browse the repository at this point in the history
Update the libimage/pull_test.go file, changing quote in one line

Based on containers/image#2408 from @mtrmac

Signed-off-by: tomsweeneyredhat <[email protected]>
  • Loading branch information
TomSweeneyRedHat committed May 22, 2024
1 parent c347a01 commit 3fe0775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libimage/pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestPullPlatforms(t *testing.T) {
pullOptions.Architecture = "bogus"
_, err = runtime.Pull(ctx, withTag, config.PullPolicyNewer, pullOptions)
require.Error(t, err, "pulling with a bogus architecture must fail even if there is a local image of another architecture")
require.Contains(t, err.Error(), "no image found in manifest list for architecture bogus")
require.Contains(t, err.Error(), `no image found in manifest list for architecture "bogus"`)

image, _, err := runtime.LookupImage(withTag, nil)
require.NoError(t, err, "lookup busybox")
Expand Down

0 comments on commit 3fe0775

Please sign in to comment.