Modify test to account for changed CLI argument

This commit is contained in:
Arne Keller 2018-10-18 19:14:49 +02:00
parent 4d0f7fad7c
commit 4f27902a61

View File

@ -42,7 +42,7 @@ fn length_amount() {
#[test] #[test]
fn ascii() { fn ascii() {
let (out, _) = exe!("-a", "1", "10"); let (out, _) = exe!("-c", "ascii", "--", "1", "10");
assert_eq!(out.len(), 10); assert_eq!(out.len(), 10);
for line in &out { for line in &out {
assert_eq!(line.chars().count(), 1); assert_eq!(line.chars().count(), 1);