Skip to content

Commit b50265a

Browse files
authored
Merge pull request exercism#518 from morrme/patch-5
simple-linked-list: add hint to @ignore annotations
2 parents a9dff43 + 0dafcef commit b50265a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎exercises/simple-linked-list/src/test/java/SimpleLinkedListTest.java‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ public void aNewListIsEmpty() {
1919
assertThat(list.size(), is(0));
2020
}
2121

22-
@Ignore
22+
@Ignore("Remove to run test")
2323
@Test
2424
public void canCreateFromArray() {
2525
Integer[] values = new Integer[]{1, 2, 3};
2626
SimpleLinkedList list = new SimpleLinkedList(values);
2727
assertThat(list.size(), is(3));
2828
}
2929

30-
@Ignore
30+
@Ignore("Remove to run test")
3131
@Test
3232
public void popOnEmptyListWillThrow() {
3333
thrown.expect(NoSuchElementException.class);
3434
SimpleLinkedList list = new SimpleLinkedList();
3535
list.pop();
3636
}
3737

38-
@Ignore
38+
@Ignore("Remove to run test")
3939
@Test
4040
public void popReturnsLastAddedElement() {
4141
SimpleLinkedList list = new SimpleLinkedList();
@@ -47,7 +47,7 @@ public void popReturnsLastAddedElement() {
4747
assertThat(list.size(), is(0));
4848
}
4949

50-
@Ignore
50+
@Ignore("Remove to run test")
5151
@Test
5252
public void reverseReversesList() {
5353
SimpleLinkedList list = new SimpleLinkedList();
@@ -64,7 +64,7 @@ public void reverseReversesList() {
6464
assertThat(list.pop(), is(5));
6565
}
6666

67-
@Ignore
67+
@Ignore("Remove to run test")
6868
@Test
6969
public void canReturnListAsArray() {
7070
SimpleLinkedList list = new SimpleLinkedList();
@@ -77,7 +77,7 @@ public void canReturnListAsArray() {
7777
assertEquals(list.asArray(Integer.class), expected);
7878
}
7979

80-
@Ignore
80+
@Ignore("Remove to run test")
8181
@Test
8282
public void canReturnEmptyListAsEmptyArray() {
8383
SimpleLinkedList list = new SimpleLinkedList();

0 commit comments

Comments
 (0)