Skip to content

Commit 33c2d1c

Browse files
miranikaran01sjwarner-bp
authored andcommitted
removed final from tests (exercism#1434)
1 parent d38d1c6 commit 33c2d1c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

‎exercises/acronym/src/test/java/AcronymTest.java‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,40 +7,40 @@ public class AcronymTest {
77

88
@Test
99
public void basic() {
10-
final String phrase = "Portable Network Graphics";
11-
final String expected = "PNG";
10+
String phrase = "Portable Network Graphics";
11+
String expected = "PNG";
1212
assertEquals(expected, new Acronym(phrase).get());
1313
}
1414

1515
@Ignore("Remove to run test")
1616
@Test
1717
public void lowercaseWords() {
18-
final String phrase = "Ruby on Rails";
19-
final String expected = "ROR";
18+
String phrase = "Ruby on Rails";
19+
String expected = "ROR";
2020
assertEquals(expected, new Acronym(phrase).get());
2121
}
2222

2323
@Ignore("Remove to run test")
2424
@Test
2525
public void punctuation() {
26-
final String phrase = "First In, First Out";
27-
final String expected = "FIFO";
26+
String phrase = "First In, First Out";
27+
String expected = "FIFO";
2828
assertEquals(expected, new Acronym(phrase).get());
2929
}
3030

3131
@Ignore("Remove to run test")
3232
@Test
3333
public void NonAcronymAllCapsWord() {
34-
final String phrase = "GNU Image Manipulation Program";
35-
final String expected = "GIMP";
34+
String phrase = "GNU Image Manipulation Program";
35+
String expected = "GIMP";
3636
assertEquals(expected, new Acronym(phrase).get());
3737
}
3838

3939
@Ignore("Remove to run test")
4040
@Test
4141
public void punctuationWithoutWhitespace() {
42-
final String phrase = "Complementary metal-oxide semiconductor";
43-
final String expected = "CMOS";
42+
String phrase = "Complementary metal-oxide semiconductor";
43+
String expected = "CMOS";
4444
assertEquals(expected, new Acronym(phrase).get());
4545
}
4646

0 commit comments

Comments
 (0)