mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 17:58:06 +00:00
20 lines
419 B
Rust
20 lines
419 B
Rust
|
#[macro_use]
|
||
|
mod common;
|
||
|
|
||
|
use common::util::*;
|
||
|
|
||
|
static UTIL_NAME: &'static str = "paste";
|
||
|
|
||
|
#[test]
|
||
|
fn test_combine_pairs_of_lines() {
|
||
|
let (at, mut ucmd) = testing(UTIL_NAME);
|
||
|
let out = ucmd.arg("-s")
|
||
|
.arg("-d")
|
||
|
.arg("\t\n")
|
||
|
.arg("html_colors.txt")
|
||
|
.run()
|
||
|
.stdout;
|
||
|
|
||
|
assert_eq!(out, at.read("html_colors.expected"));
|
||
|
}
|