summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2023-03-31 08:19:23 -0700
committerWilfred Hughes <me@wilfred.me.uk>2023-03-31 08:19:23 -0700
commitcb9367c1298d253b4c2a0ec2536326abd388d043 (patch)
treedb5e88a372a1c71ca1f64ebc3f80789ea7d5a254
parent45121f6f6d435021ee31f2e7f1ea28f36d541d97 (diff)
Remove tests that no longer apply after 8b842387a0.46.0
-rw-r--r--src/lines.rs10
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"));
}