commit b0faf03111747afdd3b68de212073b019e7190db
parent 2e178c5776f7eb0a4485407e72dcc1919229198a
Author: Dan Callaghan <djc@djc.id.au>
Date: Mon, 16 Nov 2009 23:29:14 +1000
include timezone so that if tests fail due to timezone-related variations I can figure out what's going on
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/au/com/miskinhill/rdftemplate/selector/SelectorEvaluationUnitTest.java b/src/test/java/au/com/miskinhill/rdftemplate/selector/SelectorEvaluationUnitTest.java
@@ -186,9 +186,9 @@ public class SelectorEvaluationUnitTest {
@Test
public void shouldEvaluateFormattedDTAdaptationWithDoubleQuotes() throws Exception {
- String result = selectorFactory.get("!sioc:has_container/dc:created#formatted-dt('yyyy-MM-dd\"T\"HH:mm:ss')")
+ String result = selectorFactory.get("!sioc:has_container/dc:created#formatted-dt('yyyy-MM-dd\"T\"HH:mm:ssZZ')")
.withResultType(String.class).singleResult(forum);
- assertThat(result, equalTo("2009-06-15T18:21:32"));
+ assertThat(result, equalTo("2009-06-15T18:21:32+10:00"));
}
}