We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2002162 + 8b76c8c commit 67a413eCopy full SHA for 67a413e
tests/testthat/test-utf8.R
@@ -0,0 +1,13 @@
1
+context("UTF-6 with 4.2")
2
+
3
+# for more, see: https://github.com/r-lib/styler/issues/847
4
+# this behavior is likely to change with R 4.2
5
+test_that("styling unicode characters on Windows", {
6
+ skip_if_not(.Platform$OS.type[[1]] == "windows")
7
+ skip_if(getRversion() < '4.2')
8
+ skip_on_cran()
9
+ expect_identical(
10
+ styler::style_text('suit <- "♠"'),
11
+ structure("suit <- \"♠\"", class = "vertical")
12
+ )
13
+})
0 commit comments