1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-18 11:11:10 +00:00
uutils-coreutils/tests/pwd.rs

16 lines
286 B
Rust

#[macro_use]
mod common;
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);
}