Skip to content

Commit

Permalink
Ignore case when checking teardown status (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
asimell committed Apr 23, 2021
1 parent ef6f18c commit 6acab55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/robot/RobotParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private RobotSuiteResult processSuite(XMLStreamReader reader, RobotTestObject pa
suite.addChild(processSuite(reader, suite, baseDirectory));
} else if("test".equals(tagName)){
suite.addCaseResult(processTest(reader, suite));
} else if("kw".equals(tagName) && "teardown".equals(reader.getAttributeValue(null, "type"))) {
} else if("kw".equals(tagName) && "teardown".equalsIgnoreCase(reader.getAttributeValue(null, "type"))) {
ignoreUntilStarts(reader, "status");
if ("FAIL".equals(reader.getAttributeValue(null, "status"))) {
suite.failTeardown();
Expand Down

0 comments on commit 6acab55

Please sign in to comment.