Skip to content

Commit 2a5b553

Browse files
committed
Remove raw string from test
1 parent f70be76 commit 2a5b553

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/testthat/test-show-news.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ test_that("can read NEWS.Rd in inst directory", {
1313
pkg <- local_package_create()
1414

1515
dir_create(pkg, "inst")
16-
write(r"[\name{NEWS}
17-
\title{News for Package 'test'}
16+
write("\\name{NEWS}
17+
\\title{News for Package 'test'}
1818
19-
\section{CHANGES IN test VERSION 0.0.1}{
20-
\itemize{
21-
\item First version
19+
\\section{CHANGES IN test VERSION 0.0.1}{
20+
\\itemize{
21+
\\item First version
2222
}
23-
}]", path(pkg, "inst", "NEWS.Rd"))
23+
}", path(pkg, "inst", "NEWS.Rd"))
2424

2525
expect_no_error(show_news(pkg))
2626
})

0 commit comments

Comments
 (0)