Skip to content

Commit

Permalink
fixup! Add message to assertions on bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
d-e-s-o committed Apr 17, 2021
1 parent 7fb72ff commit 49f518f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/run.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// run.rs

// Copyright (C) 2019-2020 The Nitrocli Developers
// Copyright (C) 2019-2021 The Nitrocli Developers
// SPDX-License-Identifier: GPL-3.0-or-later

use std::collections;
Expand Down Expand Up @@ -347,7 +347,7 @@ sys.exit(42);
let (rc, out, err) = ncli.run(&["ext"]);
assert_eq!(rc, 42);
assert_eq!(out, b"", "{}", String::from_utf8_lossy(&out));
assert_eq!(err, b"", "{}", String::from_utf8_lossy(&out));
assert_eq!(err, b"", "{}", String::from_utf8_lossy(&err));
Ok(())
}

Expand Down

0 comments on commit 49f518f

Please sign in to comment.