diff options
author | Wilfred Hughes <me@wilfred.me.uk> | 2023-03-31 08:19:23 -0700 |
---|---|---|
committer | Wilfred Hughes <me@wilfred.me.uk> | 2023-03-31 08:19:23 -0700 |
commit | cb9367c1298d253b4c2a0ec2536326abd388d043 (patch) | |
tree | db5e88a372a1c71ca1f64ebc3f80789ea7d5a254 | |
parent | 45121f6f6d435021ee31f2e7f1ea28f36d541d97 (diff) |
-rw-r--r-- | src/lines.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lines.rs b/src/lines.rs index 6dcb67d7e..7b670ec05 100644 --- a/src/lines.rs +++ b/src/lines.rs @@ -299,11 +299,6 @@ mod tests { } #[test] - fn test_split_line_empty() { - assert_eq!(split_on_newlines(""), vec![""]); - } - - #[test] fn test_split_line_single() { assert_eq!(split_on_newlines("foo"), vec!["foo"]); } @@ -319,11 +314,6 @@ mod tests { } #[test] - fn test_split_line_with_trailing_newline() { - assert_eq!(split_on_newlines("foo\nbar\n"), vec!["foo", "bar", ""]); - } - - #[test] fn test_is_all_whiteapce() { assert!(is_all_whitespace(" \n\t")); } |