1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 09:41:07 +00:00
uutils-coreutils/tests/test_tsort.rs
2019-02-14 07:45:11 +11:00

17 lines
340 B
Rust

use common::util::*;
#[test]
fn test_sort_call_graph() {
new_ucmd!()
.arg("call_graph.txt")
.run()
.stdout_is_fixture("call_graph.expected");
}
#[test]
fn test_sort_self_loop() {
new_ucmd!()
.pipe_in("first first\nfirst second second second")
.succeeds().stdout_only("first\nsecond\n");
}