Skip to content

Commit

Permalink
Test formatting only on UTF-8 supported platform. Close #30.
Browse files Browse the repository at this point in the history
  • Loading branch information
hongyuanjia committed May 6, 2019
1 parent 2447a3b commit 1949bbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test_format.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
context("Format methods")

test_that("Idd formatting", {
testthat::skip_on_os("windows")
# only test on UTF-8 supported platform
testthat::skip_if_not(cli::is_utf8_output())

# IDD {{{
idd_parsed <- parse_idd_file(text("idd", "9.9.9"))
Expand Down

0 comments on commit 1949bbc

Please sign in to comment.