Skip to content

Commit a1bea33

Browse files
committed
Change test to avoid using ..., which is sometimes treated specially on windows
1 parent 2f3da48 commit a1bea33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-write_xml.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ context("write_xml")
22

33
test_that("write_xml errors for incorrect directory and with invalid inputs", {
44
x <- read_xml("<x/>")
5-
filename <- ".../test.xml"
6-
expect_error(write_xml(x, filename), "'...' does not exist in current working directory")
5+
filename <- "does_not_exist/test.xml"
6+
expect_error(write_xml(x, filename), "'does_not_exist' does not exist in current working directory")
77

88

99
expect_error(write_xml(x, c("test.xml", "foo")), "`file` must be a non-zero character of length 1")

0 commit comments

Comments
 (0)