Skip to content

Commit

Permalink
Update RecordedKnownOffendersTest.java (#41)
Browse files Browse the repository at this point in the history
* Update RecordedKnownOffendersTest.java

Fixing broken test

* sort out incompetent developer indentistry
  • Loading branch information
helenwilliamson authored and scarytom committed Mar 14, 2017
1 parent 3af965f commit c4434f7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.is;

import java.io.File;
Expand Down Expand Up @@ -69,8 +70,8 @@ public void createOffendersFile() throws IOException {

@Test public void
looksUpMultipleOffenders() {
assertThat(offenders.search("vlad/stupid:"), contains(new Sponsor("", "/pictures/vlad.png"),
new Sponsor("", "/pictures/stupid.png")));
assertThat(offenders.search("vlad/stupid:"), containsInAnyOrder(new Sponsor("", "/pictures/vlad.png"),
new Sponsor("", "/pictures/stupid.png")));
}

@Test public void
Expand Down

0 comments on commit c4434f7

Please sign in to comment.