Skip to content

Commit

Permalink
Fix working_dir negative test error expectation (microsoft#1348)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim An <maksiman@microsoft.com>
  • Loading branch information
anmaxvl authored Apr 10, 2022
1 parent 70b87e3 commit 2028de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cri-containerd/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func Test_RunContainer_InvalidContainerConfigs_NotAllowed(t *testing.T) {
sf: func(req *runtime.CreateContainerRequest) {
req.Config.WorkingDir = "/non/existent"
},
expectedError: "working_dir \"/non/existent\" unmatched by policy rule",
expectedError: "working_dir /non/existent unmatched by policy rule",
},
{
name: "InvalidCommand",
Expand Down

0 comments on commit 2028de8

Please sign in to comment.