update tests minigrep
This commit is contained in:
parent
044925fb15
commit
3c0bdf7b3c
|
@ -99,6 +99,7 @@ Trust me.";
|
|||
assert!(run(Config {
|
||||
query: String::from("test"),
|
||||
filename: String::from("poem.txt"),
|
||||
case_sensitive: true,
|
||||
}).is_ok());
|
||||
}
|
||||
|
||||
|
@ -107,6 +108,7 @@ Trust me.";
|
|||
assert!(run(Config {
|
||||
query: String::from("test"),
|
||||
filename: String::from("134857320592.txt"),
|
||||
case_sensitive: true,
|
||||
}).is_err());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue