Skip to content

Commit

Permalink
Revert "Fix working_dir negative test error expectation (#1348)"
Browse files Browse the repository at this point in the history
This reverts commit 2028de8.
  • Loading branch information
anmaxvl committed Apr 22, 2022
1 parent db5e1b1 commit ccf0a6f
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 @@ -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",
Expand Down

0 comments on commit ccf0a6f

Please sign in to comment.