Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-burn committed Dec 29, 2024
1 parent efd88c0 commit 43dc424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-backend-mysql.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test_that("custom date escaping works as expected", {
expect_equal(escape(as.Date("2020-01-01"), con = con), sql("'2020-01-01'"))
expect_equal(escape(as.Date(NA), con = con), sql("NULL"))

expect_equal(escape(as.POSIXct("2020-01-01", tz = "UTC"), con = con), sql("'2020-01-01'"))
expect_equal(escape(as.POSIXct("2020-01-01", tz = "UTC"), con = con), sql("'2020-01-01 00:00:00'"))
expect_equal(escape(as.POSIXct(NA, tz = "UTC"), con = con), sql("NULL"))
})

Expand Down

0 comments on commit 43dc424

Please sign in to comment.