Skip to content

Commit

Permalink
Fixed indenting in junit reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
akbertram committed Feb 17, 2017
1 parent 5c7fbd9 commit 6ce3c07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ Collate:
'try-again.R'
'utils.R'
'watcher.R'
RoxygenNote: 5.0.1.9000
RoxygenNote: 5.0.1
Roxygen: list(markdown = TRUE)
7 changes: 3 additions & 4 deletions R/reporter-junit.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ JunitReporter <- R6::R6Class("JunitReporter", inherit = Reporter,
# XML node for test case
name <- test %||% "(unnamed)"
testcase <- xml2::xml_add_child(self$suite, "testcase",
time = toString(time),
classname = classnameOK(context),
name = classnameOK(name)
time = toString(time),
classname = classnameOK(context),
name = classnameOK(name)
)

# message - if failure or error
Expand Down Expand Up @@ -124,7 +124,6 @@ JunitReporter <- R6::R6Class("JunitReporter", inherit = Reporter,
} else {
stop('unsupported output type: ', toString(self$out))
}
#cat(toString(self$doc), file = self$file)
} # end_reporter
), #public

Expand Down

0 comments on commit 6ce3c07

Please sign in to comment.