Modify test to account for changed CLI argument
This commit is contained in:
parent
4d0f7fad7c
commit
4f27902a61
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user