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 bb64fb4 commit e928f5d
Showing 1 changed file with 3 additions and 3 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","Invalid \"salt\" parameter. Generated value", retValLines[0]);
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","MASK-",retValLines[2]);
assertEquals("Message about invalid salt parameter must be present", true, 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-"));
}

@Test
Expand Down

0 comments on commit e928f5d

Please sign in to comment.