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

Commit cfdb9e4

Browse files
author
Dorvaryn
committed
Rules must be public
1 parent 0554d09 commit cfdb9e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/src/test/java/com/novoda/rxpresso/RxExpectTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public class RxExpectTest {
1414

1515
@Rule
16-
ExpectedException expectedException = ExpectedException.none();
16+
public ExpectedException expectedException = ExpectedException.none();
1717

1818
@Test
1919
public void expectMatchesAccordingToMatcher() throws Exception {

core/src/test/java/com/novoda/rxpresso/RxPressoTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020

2121
public class RxPressoTest {
2222

23-
public @Rule ExpectedException expectedException = ExpectedException.none();
23+
@Rule
24+
public ExpectedException expectedException = ExpectedException.none();
2425

2526
private TestRepository mockedRepo;
2627
private RxPresso rxPresso;

0 commit comments

Comments
 (0)