Skip to content

Commit 12b922e

Browse files
committed
fix test for upcoming units 0.8-6
1 parent 51ef824 commit 12b922e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-long_to_wide.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ df <- data.frame(pollutant = rep(c("CO", "propadiene", "NO2"), 10),
66

77
data(net)
88
test_that("long_to_wide works", {
9-
expect_equal(long_to_wide(df)$CO[1],
9+
expect_equal(as.numeric(long_to_wide(df)$CO[1]),
1010
1)
1111
})
1212

0 commit comments

Comments
 (0)