Skip to content

Commit

Permalink
Update src/test/java/hudson/plugins/robot/tokens/RobotPassRatioTokenM…
Browse files Browse the repository at this point in the history
…acroTest.java

Co-authored-by: Tatu Kairi <[email protected]>
  • Loading branch information
asimell and Tattoo authored Nov 13, 2024
1 parent 6bea5c2 commit 722fd03
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public void testAcceptsName(){
assertTrue(new RobotPassRatioTokenMacro().acceptsMacroName(macroName));
}

// TODO: remove test when criticality is removed
public void testTokenConversionWithCritical() throws MacroEvaluationException, IOException, InterruptedException{
token.onlyCritical = true;
assertEquals("6 / 13",token.evaluate(build, listener, macroName));
Expand Down

0 comments on commit 722fd03

Please sign in to comment.