From 957d4896049b2bc92928431bc1bd15f787eb684d Mon Sep 17 00:00:00 2001 From: shutefan Date: Wed, 29 Nov 2017 23:01:56 +0100 Subject: [PATCH] chmod: make error message clearer --- tests/test_chmod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_chmod.rs b/tests/test_chmod.rs index a23849be8..19a76e483 100644 --- a/tests/test_chmod.rs +++ b/tests/test_chmod.rs @@ -31,7 +31,7 @@ fn run_single_test(test: &TestCase, at: AtPath, mut ucmd: UCommand) { mkfile(&at.plus_as_string(TEST_FILE), test.before); let perms = at.metadata(TEST_FILE).permissions().mode(); if perms != test.before { - panic!(format!("{}: expected: {:o} got: {:o}", "setting permissions failed", test.after, perms)); + panic!(format!("{}: expected: {:o} got: {:o}", "setting permissions on test files before actual test run failed", test.after, perms)); } for arg in &test.args {