Skip to content

Commit

Permalink
revert: update code to fail tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TechPrimers committed Jun 17, 2017
1 parent 8ccb23d commit 130c00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/techprimers/testing/FizzBuzz.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class FizzBuzz {
public String play(int number) {

if (number == 0) throw new IllegalArgumentException("Number must not be 0");
//if (number % 3 == 0) return "Fizz";
if (number % 3 == 0) return "Fizz";
if (number % 5 == 0) return "Buzz";


Expand Down

0 comments on commit 130c00a

Please sign in to comment.