Skip to content

Commit

Permalink
fixing tests..
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Nov 2, 2016
1 parent 1e1ccc1 commit 0c07268
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -56,8 +56,8 @@ public static String generate(StringPolicyType policy, int defaultLength, boolea
}
// Define result from generator
OperationResult generatorResult = new OperationResult(
"Password generator running policy :" + policy != null ? policy.getDescription()
: "No policy defined, usinf default config");
"Password generator running policy :" + (policy != null ? policy.getDescription()
: "No policy defined, using default config"));
inputResult.addSubresult(generatorResult);

// if (policy.getLimitations() != null &&
Expand Down

0 comments on commit 0c07268

Please sign in to comment.