From 3c0bdf7b3c4d9812ba7e559b0d17c16a63152dde Mon Sep 17 00:00:00 2001 From: gbrochar Date: Sun, 6 Dec 2020 17:53:46 +0100 Subject: [PATCH] update tests minigrep --- minigrep/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/minigrep/src/lib.rs b/minigrep/src/lib.rs index 05bf6f5..176a67d 100644 --- a/minigrep/src/lib.rs +++ b/minigrep/src/lib.rs @@ -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()); }