diff --git a/test/cri-containerd/policy_test.go b/test/cri-containerd/policy_test.go index 8ab5a6e6e3..9d1348218d 100644 --- a/test/cri-containerd/policy_test.go +++ b/test/cri-containerd/policy_test.go @@ -382,7 +382,7 @@ func Test_RunContainer_InvalidContainerConfigs_NotAllowed(t *testing.T) { req.Config.WorkingDir = "/non/existent" return nil }, - expectedError: "working_dir /non/existent unmatched by policy rule", + expectedError: "working_dir \"/non/existent\" unmatched by policy rule", }, { name: "InvalidCommand",