Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Rules must be public
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorvaryn committed Aug 28, 2015
1 parent 0554d09 commit cfdb9e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/test/java/com/novoda/rxpresso/RxExpectTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class RxExpectTest {

@Rule
ExpectedException expectedException = ExpectedException.none();
public ExpectedException expectedException = ExpectedException.none();

@Test
public void expectMatchesAccordingToMatcher() throws Exception {
Expand Down
3 changes: 2 additions & 1 deletion core/src/test/java/com/novoda/rxpresso/RxPressoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@

public class RxPressoTest {

public @Rule ExpectedException expectedException = ExpectedException.none();
@Rule
public ExpectedException expectedException = ExpectedException.none();

private TestRepository mockedRepo;
private RxPresso rxPresso;
Expand Down

0 comments on commit cfdb9e4

Please sign in to comment.