coreutils/tests/test_pwd.rs

13 lines
259 B
Rust
Raw Normal View History

use common::util::*;
static UTIL_NAME: &'static str = "pwd";
#[test]
fn test_default() {
let (at, mut ucmd) = testing(UTIL_NAME);
let out = ucmd.run().stdout;
let expected = at.root_dir_resolved();
assert_eq!(out.trim_right(), expected);
}