From a95a3a78d78dbef3f3896eef4b82eefd745df6aa Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Thu, 19 Sep 2013 01:16:26 -0400 Subject: [PATCH] Make test Java 6 compatible for TravisCI (hopefully) --- .../tests/expr/functions/strings/ToFromConversionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/tests/server/src/com/google/refine/tests/expr/functions/strings/ToFromConversionTests.java b/main/tests/server/src/com/google/refine/tests/expr/functions/strings/ToFromConversionTests.java index e46ac546c..1547f3221 100644 --- a/main/tests/server/src/com/google/refine/tests/expr/functions/strings/ToFromConversionTests.java +++ b/main/tests/server/src/com/google/refine/tests/expr/functions/strings/ToFromConversionTests.java @@ -119,7 +119,7 @@ public class ToFromConversionTests extends RefineTest { Assert.assertEquals(invoke("toString", Double.valueOf(100.0),"%.0f"),"100"); Assert.assertEquals(invoke("toString", CalendarParser.parse("2013-06-01")),"Jun 1, 2013"); Assert.assertEquals(invoke("toString", CalendarParser.parse("2013-06-01").getTime()),"Jun 1, 2013"); - Assert.assertEquals(invoke("toString", CalendarParser.parse("2013-06-01"),"Y"),"2013"); + Assert.assertEquals(invoke("toString", CalendarParser.parse("2013-06-01"),"y"),"2013"); Assert.assertEquals(invoke("toString", CalendarParser.parse("2013-06-01"),"YYYY-MM-dd"),"2013-06-01"); }