Skip to content

Commit ffbb48c

Browse files
authored
Merge pull request exercism#429 from FridaTveit/AddIgnoreHint
rna-transcription: add hint to Ignore annotation
2 parents f64a37a + c174f86 commit ffbb48c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎bin/journey-test.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ solve_all_exercises() {
230230
gradle compileTestJava
231231
# Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
232232
for testfile in `find . -name "*Test.java"`; do
233-
sed 's/@Ignore//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
233+
sed 's/@Ignore\(.*\)//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
234234
done
235235
gradle test
236236
popd

‎exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@ public void testRnaTranscriptionOfEmptyDnaIsEmptyRna() {
1717
Assert.assertEquals("", rnaTranscription.ofDna(""));
1818
}
1919

20-
@Ignore
20+
@Ignore("Remove to run test")
2121
@Test
2222
public void testRnaTranscriptionOfCytosineIsGuanine() {
2323
Assert.assertEquals("G", rnaTranscription.ofDna("C"));
2424
}
2525

26-
@Ignore
26+
@Ignore("Remove to run test")
2727
@Test
2828
public void testRnaTranscriptionOfGuanineIsCytosine() {
2929
Assert.assertEquals("C", rnaTranscription.ofDna("G"));
3030
}
3131

32-
@Ignore
32+
@Ignore("Remove to run test")
3333
@Test
3434
public void testRnaTranscriptionOfThymineIsAdenine() {
3535
Assert.assertEquals("A", rnaTranscription.ofDna("T"));
3636
}
3737

38-
@Ignore
38+
@Ignore("Remove to run test")
3939
@Test
4040
public void testRnaTranscriptionOfAdenineIsUracil() {
4141
Assert.assertEquals("U", rnaTranscription.ofDna("A"));
4242
}
4343

44-
@Ignore
44+
@Ignore("Remove to run test")
4545
@Test
4646
public void testRnaTranscription() {
4747
Assert.assertEquals("UGCACCAGAAUU", rnaTranscription.ofDna("ACGTGGTCTTAA"));

0 commit comments

Comments
 (0)