We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fb72ff commit 49f518fCopy full SHA for 49f518f
src/tests/run.rs
@@ -1,6 +1,6 @@
1
// run.rs
2
3
-// Copyright (C) 2019-2020 The Nitrocli Developers
+// Copyright (C) 2019-2021 The Nitrocli Developers
4
// SPDX-License-Identifier: GPL-3.0-or-later
5
6
use std::collections;
@@ -347,7 +347,7 @@ sys.exit(42);
347
let (rc, out, err) = ncli.run(&["ext"]);
348
assert_eq!(rc, 42);
349
assert_eq!(out, b"", "{}", String::from_utf8_lossy(&out));
350
- assert_eq!(err, b"", "{}", String::from_utf8_lossy(&out));
+ assert_eq!(err, b"", "{}", String::from_utf8_lossy(&err));
351
Ok(())
352
}
353
0 commit comments