mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
use assert_eq instead of x == y. Better output in case of error
This commit is contained in:
parent
1cd72a621a
commit
ba83e5e901
3 changed files with 3 additions and 3 deletions
|
@ -26,5 +26,5 @@ fn test_get_var() {
|
|||
.succeeds();
|
||||
|
||||
assert!(!result.stdout_str().is_empty());
|
||||
assert!(result.stdout_str().trim() == "VALUE");
|
||||
assert_eq!(result.stdout_str().trim(), "VALUE");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue