Skip to content

Commit 010c0ff

Browse files
committed
Fix unit test for windows
1 parent 439a787 commit 010c0ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/testthat/test_encodings.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test_that("UTF8 always works", {
4141
expect_equal(hunspell_parse(str4)[[1]][2], str2)
4242
expect_equal(hunspell_parse(str4)[[1]][7], str3)
4343

44-
str5 <- "Zürich"
44+
str5 <- utf8("Zürich")
4545
expect_equal(hunspell_parse(enc2native(paste(str5, "test")))[[1]][1], str5)
4646
expect_equal(hunspell_parse(enc2utf8(paste(str5, "test")))[[1]][1], str5)
4747

0 commit comments

Comments
 (0)