Skip to content

Commit 49f518f

Browse files
committed
fixup! Add message to assertions on bytes
1 parent 7fb72ff commit 49f518f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/run.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// run.rs
22

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

66
use std::collections;
@@ -347,7 +347,7 @@ sys.exit(42);
347347
let (rc, out, err) = ncli.run(&["ext"]);
348348
assert_eq!(rc, 42);
349349
assert_eq!(out, b"", "{}", String::from_utf8_lossy(&out));
350-
assert_eq!(err, b"", "{}", String::from_utf8_lossy(&out));
350+
assert_eq!(err, b"", "{}", String::from_utf8_lossy(&err));
351351
Ok(())
352352
}
353353

0 commit comments

Comments
 (0)