Skip to content

Commit

Permalink
Add expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr authored Nov 8, 2023
1 parent 4b4506c commit a0c7ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_read.R
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ test_that("duckdb_read_csv() works as expected", {
na_strings <- data.frame(num=c(0.5, 2, NA), char=c('yes', 'no', NA), logi=c(TRUE, FALSE, NA), lisst=c(list(1), list(2, 3), NA))
write.csv(na_strings, tf3, row.names = FALSE)
duckdb_read_csv(con, "na_table", tf3, na.strings = "-")
identical(
expect_identical(
dbReadTable(con, "na_table"),
read.csv(tf3, na.strings = "-")
)
Expand Down

0 comments on commit a0c7ed6

Please sign in to comment.