Skip to content

Commit 4cdcb22

Browse files
pwildenhainlorenzwalthert
authored andcommitted
✅ Add tests to test-hooks.R
1 parent 2f61295 commit 4cdcb22

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/testthat/test-hooks.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,15 @@ run_test("parsable-R",
120120
error_msg = NULL
121121
)
122122

123+
run_test("parsable-R",
124+
suffix = "-success.Rmd",
125+
error_msg = NULL
126+
)
127+
123128
# failure
124129
run_test("parsable-R", suffix = "-fail.R", error_msg = "not parsable")
125130

131+
run_test("parsable-R", suffix = "-fail.Rmd", error_msg = "not parsable")
126132

127133
### . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
128134
### spell-check ####

0 commit comments

Comments
 (0)