diff --git a/src/test/java/com/laytonsmith/core/OptimizationTest.java b/src/test/java/com/laytonsmith/core/OptimizationTest.java index af2f966da..47a6ed230 100644 --- a/src/test/java/com/laytonsmith/core/OptimizationTest.java +++ b/src/test/java/com/laytonsmith/core/OptimizationTest.java @@ -795,7 +795,7 @@ private void testSemicolonUsage(String script, boolean passExpected) throws Exce } } -// @Test + @Test public void testMissingSemicolonWarnsInStrictMode() throws Exception { testSemicolonUsage(" if(dyn(true)) { if(dyn(true)) {} if(dyn(true)) {} }", true); testSemicolonUsage(" if(dyn(true)) { } else if(dyn(1) == 1) { }", true); @@ -806,7 +806,7 @@ public void testMissingSemicolonWarnsInStrictMode() throws Exception { testSemicolonUsage(" if(dyn(true)) {} array()", false); } -// @Test + @Test public void testConstantIsntStatement() throws Exception { try { optimize("'string';");