Skip to content

Commit

Permalink
fix: luacheck issues
Browse files Browse the repository at this point in the history
  • Loading branch information
myzhan committed Jul 9, 2024
1 parent fad0e9e commit c15a663
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions busted/outputHandlers/junit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ return function(options)
if package:find("^@") then
package = string.sub(package, 2)
end
classname = package .. "." .. class_name .. ":" .. element.trace.currentline
class_name = package .. "." .. class_name .. ":" .. element.trace.currentline
else
classname = class_name .. ":" .. element.trace.currentline
class_name = class_name .. ":" .. element.trace.currentline
end

testcase_node = xml.new('testcase', {
-- junit report uses package names and class names to structurally display result.
classname = classname,
classname = class_name,
name = test_case_full_name
})
top.xml_doc:add_direct_child(testcase_node)
Expand Down

0 comments on commit c15a663

Please sign in to comment.