Skip to content

Commit

Permalink
chore(tests): small readability fixes (#3989)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrussell committed Jul 12, 2022
1 parent cfb8984 commit e39d7be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion polars/tests/it/io/csv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ fn test_header_with_comments() -> Result<()> {
#[test]
#[cfg(feature = "temporal")]
fn test_ignore_parse_dates() -> Result<()> {
// if parse dates is set, a given schema should still prevale above date parsing.
// if parse dates is set, a given schema should still prevail above date parsing.
let csv = r#"a,b,c
1,i,16200126
2,j,16250130
Expand Down
2 changes: 1 addition & 1 deletion polars/tests/it/lazy/explodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use super::*;
#[test]
fn test_explode_row_numbers() -> Result<()> {
let df = df![
"text" => ["one two three four", "uno dos tres quatro"]
"text" => ["one two three four", "uno dos tres cuatro"]
]?
.lazy()
.select([col("text").str().split(" ").alias("tokens")])
Expand Down
2 changes: 1 addition & 1 deletion polars/tests/it/lazy/expressions/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ fn test_window_mapping() -> Result<()> {
assert!(out.column("foo")?.series_equal_missing(&expected));

// now sorted
// this will tragger a fast path
// this will trigger a fast path
let df = df.sort(["fruits"], vec![false])?;

let out = df
Expand Down

0 comments on commit e39d7be

Please sign in to comment.