Skip to content

Commit

Permalink
Fix bugg in test suites
Browse files Browse the repository at this point in the history
  • Loading branch information
MansMeg committed Dec 31, 2017
1 parent d89dc62 commit b58417b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-mark_my_file.R
Expand Up @@ -5,6 +5,7 @@ test_that(desc="mark_my_file()",{
source_file <- file.path(system.file(package = "markmyassignment"), "extdata/example_lab_file.R")
assignment_file <- file.path(system.file(package = "markmyassignment"), "extdata/example_assignment01.yml")

remove_assignment()
expect_error(x <- capture.output(y <- mark_my_assignment()))

x <- capture.output(y <- mark_my_file(mark_file = source_file, assignment_path = assignment_file, quiet = TRUE))
Expand Down

0 comments on commit b58417b

Please sign in to comment.