From fed596a23b04a9d3d32f5dfa9530e4ee1a41fe79 Mon Sep 17 00:00:00 2001 From: Thomas Queiroz Date: Fri, 12 Nov 2021 18:29:28 -0300 Subject: [PATCH] tests/chmod: change normal error to usage error --- tests/by-util/test_chmod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_chmod.rs b/tests/by-util/test_chmod.rs index c8348d491..1b0b7131b 100644 --- a/tests/by-util/test_chmod.rs +++ b/tests/by-util/test_chmod.rs @@ -541,7 +541,7 @@ fn test_no_operands() { .arg("777") .fails() .code_is(1) - .stderr_is("chmod: missing operand"); + .usage_error("missing operand"); } #[test]