Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jpare committed Jan 27, 2018
1 parent 87c5d3f commit 78ed956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dexiom.RandomizerTests/StringGeneratorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void GetRandomStringTest()
//method 3
int temp;
var method3 = StringGenerator.CreateRandomString("****", CaracterType.Number);
if (int.TryParse(method3, out temp))
if (!int.TryParse(method3, out temp))
{
Assert.Fail("Restrictions were not respected");
}
Expand Down

0 comments on commit 78ed956

Please sign in to comment.