You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ac...@apache.org on 2019/04/23 18:47:56 UTC
[jena] branch timezone_test updated: Make test inclusive of GMT-14
This is an automated email from the ASF dual-hosted git repository.
acoburn pushed a commit to branch timezone_test
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/timezone_test by this push:
new c47b53a Make test inclusive of GMT-14
c47b53a is described below
commit c47b53ad77669028e7dd035b601272010c46eceb
Author: Aaron Coburn <ac...@apache.org>
AuthorDate: Tue Apr 23 14:47:24 2019 -0400
Make test inclusive of GMT-14
---
jena-arq/src/test/java/org/apache/jena/sparql/expr/TestFunctions.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jena-arq/src/test/java/org/apache/jena/sparql/expr/TestFunctions.java b/jena-arq/src/test/java/org/apache/jena/sparql/expr/TestFunctions.java
index f040f4c..29907ca 100644
--- a/jena-arq/src/test/java/org/apache/jena/sparql/expr/TestFunctions.java
+++ b/jena-arq/src/test/java/org/apache/jena/sparql/expr/TestFunctions.java
@@ -456,7 +456,7 @@ public class TestFunctions
@Test public void localDateTime_1() { test("afn:nowtz()", nv-> nv.isDateTime()); }
// Test field defined.
- @Test public void localDateTime_2() { test("afn:nowtz()", nv-> nv.getDateTime().getTimezone() > -14 * 60 ); }
+ @Test public void localDateTime_2() { test("afn:nowtz()", nv-> nv.getDateTime().getTimezone() >= -14 * 60 ); }
@Test public void localDateTime_3() { test("afn:nowtz() = NOW()", NodeValue.TRUE); }