Skip to content

Commit

Permalink
Remove tests that no longer apply after 8b84238
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Mar 31, 2023
1 parent 45121f6 commit cb9367c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/lines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,6 @@ mod tests {
assert_eq!(codepoint_len("ƒoo"), 3);
}

#[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"]);
Expand All @@ -318,11 +313,6 @@ mod tests {
assert_eq!(split_on_newlines("foo\r\nbar"), vec!["foo", "bar"]);
}

#[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"));
Expand Down

0 comments on commit cb9367c

Please sign in to comment.