Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Apr 1, 2024
1 parent ee61003 commit 17f2f1f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions tests/testthat/_snaps/after-wrappers.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,39 @@
[55] "with_columns" "with_columns_seq"
[57] "with_context" "with_row_index"

---

Code
ls(.pr[[private_key]])
Output
[1] "clone_in_rust" "collect"
[3] "collect_in_background" "debug_plan"
[5] "describe_optimized_plan" "describe_plan"
[7] "drop" "drop_nulls"
[9] "explode" "fetch"
[11] "fill_nan" "fill_null"
[13] "filter" "first"
[15] "get_optimization_toggle" "group_by"
[17] "group_by_dynamic" "join"
[19] "join_asof" "last"
[21] "max" "mean"
[23] "median" "melt"
[25] "min" "print"
[27] "profile" "quantile"
[29] "rename" "reverse"
[31] "rolling" "schema"
[33] "select" "select_seq"
[35] "set_optimization_toggle" "shift"
[37] "shift_and_fill" "sink_csv"
[39] "sink_ipc" "sink_json"
[41] "sink_parquet" "slice"
[43] "sort_by_exprs" "std"
[45] "sum" "tail"
[47] "to_dot" "unique"
[49] "unnest" "var"
[51] "with_columns" "with_columns_seq"
[53] "with_context" "with_row_index"

# public and private methods of each class Expr

Code
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-expr_expr.R
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@ test_that("Expr_diff", {
)
expect_equal(df, known, ignore_attr = TRUE)

expect_grepl_error(pl$select(pl$lit(1:5)$diff(0)), NA)
expect_silent(pl$select(pl$lit(1:5)$diff(0)))
expect_grepl_error(pl$lit(1:5)$diff(99^99))
expect_grepl_error(pl$lit(1:5)$diff(5, "not a null behavior"))
})
Expand Down

0 comments on commit 17f2f1f

Please sign in to comment.