Skip to content

Commit 1cbfd2f

Browse files
committed
Add note to largest-series-product tests about JUnit Rules
1 parent ececfdd commit 1cbfd2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

exercises/largest-series-product/src/test/java/LargestSeriesProductCalculatorTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
public final class LargestSeriesProductCalculatorTest {
99

10+
/*
11+
* See https://github.com/junit-team/junit4/wiki/Rules for information on JUnit Rules in general and
12+
* ExpectedExceptions in particular.
13+
*/
1014
@Rule
1115
public ExpectedException expectedException = ExpectedException.none();
1216

0 commit comments

Comments
 (0)