Skip to content

Commit

Permalink
Fix typos in tests for galah_select()
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwestgate committed Apr 12, 2024
1 parent cfaaba4 commit 34a60a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-galah_select.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_that("`galah_select()` doesn't return error when columns don't exist", {
expect_no_error(galah_select(basisOfRecors))
expect_no_error(galah_select(basisOfRecord))
expect_no_error(galah_select(year, basisOfRecord, eventdate))
})

Expand All @@ -9,7 +9,7 @@ test_that("`galah_select()` triggers error during `compute()` when columns don't
galah_call() |>
identify("perameles") |>
filter(year == 2003) |>
galah_select(basisOfRecors) |>
galah_select(basisOfRecord) |>
compute(),
"Can't subset columns that don't exist."
)
Expand Down

0 comments on commit 34a60a8

Please sign in to comment.