Skip to content

Commit

Permalink
Fix testcase time
Browse files Browse the repository at this point in the history
  • Loading branch information
cjtallman committed Jun 10, 2016
1 parent 1a7bfe6 commit 830f175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion busted/outputHandlers/junit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ return function(options)

handler.testEnd = function(element, parent, status)
top.xml_doc.attr.tests = top.xml_doc.attr.tests + 1
testcase_node.time = formatDuration(element.duration)
testcase_node:set_attrib("time", formatDuration(element.duration))

if status == 'success' then
testStatus(element, parent, nil, 'success')
Expand Down

0 comments on commit 830f175

Please sign in to comment.