浏览代码

Test changed to reflect assertion

Peter McCormick 6 年前
父节点
当前提交
106106f232
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/test/java/HamletParserTest.java

+ 2
- 2
src/test/java/HamletParserTest.java 查看文件

30
     public void testChangeHoratioToTariq() {
30
     public void testChangeHoratioToTariq() {
31
 
31
 
32
         String inputTest = "HORATIO: Horatio Horatios Horatio's";
32
         String inputTest = "HORATIO: Horatio Horatios Horatio's";
33
-        String expected = "TARIQ: Tarig Tariqs Tariq's";
34
-
33
+        String expected = "TARIQ: Tariq Tariqs Tariq's";
34
+        Assert.assertEquals(expected, hamletParser.changeHoratioToTariq(inputTest));
35
     }
35
     }
36
 
36
 
37
     @Test
37
     @Test