diff --git a/tests/testthat/_snaps/after-wrappers.md b/tests/testthat/_snaps/after-wrappers.md index 419f35015..a0a2e1594 100644 --- a/tests/testthat/_snaps/after-wrappers.md +++ b/tests/testthat/_snaps/after-wrappers.md @@ -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 diff --git a/tests/testthat/test-expr_expr.R b/tests/testthat/test-expr_expr.R index a4686add0..63b175aca 100644 --- a/tests/testthat/test-expr_expr.R +++ b/tests/testthat/test-expr_expr.R @@ -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")) })