Re: query test case coverage (ACTION-494)

On Aug 16, 2011, at 8:25 AM, Andy Seaborne wrote:

> On 15/08/11 21:51, Gregory Williams wrote:
>> I've just gone through the tests for query functions (and function-like operators) and am happy with the current state of things. I added tests for IF, COALESCE, and the hash functions over unicode (testing that the functions work over utf8 encoding). I'd be happy for others to take a look at the new tests (all in the functions/ directory):
>> 
>> :if01
> 
> I don't get a pass for this one:
> 
> SELECT ?o (IF(DATATYPE(?o) = xsd:integer, true, false) AS ?integer)
> 
> Currently, DATATYPE("english"@en) is error, so IF will be error and ?integer unbound.

Thanks for catching this Andy. I've fixed this issue in if01.srx in CVS.

.greg

Received on Tuesday, 16 August 2011 15:25:40 UTC