[ 
https://issues.apache.org/jira/browse/JENA-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277743#comment-15277743
 ] 

Andy Seaborne commented on JENA-1175:
-------------------------------------

A fix is in and I hope it will work any timezone.  It allows range of answers.

If you see a better test then that would be great.


> TestFunctions.exprSprintf_05 is timezone senstive.
> --------------------------------------------------
>
>                 Key: JENA-1175
>                 URL: https://issues.apache.org/jira/browse/JENA-1175
>             Project: Apache Jena
>          Issue Type: Bug
>    Affects Versions: Jena 3.1.0
>            Reporter: Andy Seaborne
>
> {noformat}
> Running org.apache.jena.sparql.expr.TS_ExprTests 
> run: 1255, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.277 sec <<< 
> FAILURE!
> in org.apache.jena.sparql.expr.TS_Expr 
> exprSprintf_05(org.apache.jena.sparql.expr.TestFunctions)  Time elapsed: 
> 0.006 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<"10 14,2005"> but was:<"10 15,2005">
>    at org.junit.Assert.fail(Assert.java:88)
>    at org.junit.Assert.failNotEquals(Assert.java:834)
>    at org.junit.Assert.assertEquals(Assert.java:118)
>    at org.junit.Assert.assertEquals(Assert.java:144)
>    at org.apache.jena.sparql.expr.TestFunctions.test(TestFunctions.java:270)
>    at 
> org.apache.jena.sparql.expr.TestFunctions.exprSprintf_05(TestFunctions.java:82)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to