Skip to content

Commit

Permalink
Assert Equal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nidhi committed Sep 22, 2023
1 parent e928f5d commit 3d0d312
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ public void testMissingSaltAndIteration() {
String retVal = executeCommandAndCheckStatusAndGetOutput(args);
String[] retValLines = retVal.split(LINE_SEPARATOR);

assertEquals("Message about invalid salt parameter must be present", true, retValLines[0].contains("Invalid \"salt\" parameter. Generated value"));
assertTrue("Message about invalid salt parameter must be present", retValLines[0].contains("Invalid \"salt\" parameter. Generated value"));
assertEquals("Message about invalid iteration parameter must be present", "Invalid \"iteration\" parameter. Default value \"" + defaultIteration + "\" will be used.", retValLines[1]);
assertEquals("Message about invalid salt parameter must be present",true, retValLines[2].contains("MASK-"));
assertTrue("Message about invalid salt parameter must be present", retValLines[2].contains("MASK-"));
}

@Test
Expand Down

0 comments on commit 3d0d312

Please sign in to comment.