USGCRP / gcis-ontology

Ontology for the Global Change Information System
4 stars 7 forks source link

Author report unit test #155

Closed zednis closed 8 years ago

zednis commented 8 years ago

references #113. Added author report unit test. I had to make modifications to the query because of incompatibilities in virtuoso and jena query syntax support.

@bduggan when I run ./run-tests.sh it shows the following for this test:

not ok 7 - 06-author-report.sparql

but a diff shows no difference between the expected results and the results in tmp

$ diff t/results/06-author-report.csv /tmp/06-author-report.csv 
bduggan commented 8 years ago

Looks okay now right? At least travis is reporting that it is okay. A possible cause could be line endings -- I recently changed "diff" to "diff -w" to account for this (so if you update to the latest code in the repo the test should pass).

justgo129 commented 8 years ago

@bduggan may I merge?

bduggan commented 8 years ago

Yes, this looks good.

justgo129 commented 8 years ago

Merged #155.