Skip to content

Commit 07cfc30

Browse files
Warning will not throw again now that it's captured in base_messages (#6146)
* Warning will not throw again now that it's captured in base_messages * alter testcase to pre #5867 since warning is now captured with base_messages --------- Co-authored-by: Benjamin Schwendinger <[email protected]> Co-authored-by: Benjamin Schwendinger <[email protected]>
1 parent 6a4bd54 commit 07cfc30

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inst/tests/tests.Rraw

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16920,8 +16920,7 @@ if (.Platform$OS.type!="windows") {
1692016920
test(2150.025,
1692116921
env=list(TZ=NULL),
1692216922
attr(fread(tmp, colClasses=list(POSIXct="times"), tz="")$times, "tzone"),
16923-
if (is.null(base_messages$maybe_invalid_old_posixct)) "" else NULL,
16924-
warning=base_messages$maybe_invalid_old_posixct)
16923+
"")
1692516924
# the times will be different though here because as.POSIXct read them as local time.
1692616925
fwrite(copy(DT)[ , times := format(times, '%FT%T+00:00')], tmp)
1692716926
test(2150.03, fread(tmp), DT)

0 commit comments

Comments
 (0)