From a0c7ed660da43d26e97c6acd4bc4fd5ed394382f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 8 Nov 2023 19:18:17 +0100 Subject: [PATCH] Add expectation --- tests/testthat/test_read.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test_read.R b/tests/testthat/test_read.R index 9aef5e5a0..d3bfd10bc 100644 --- a/tests/testthat/test_read.R +++ b/tests/testthat/test_read.R @@ -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 = "-") )