Fix expected result
test-modules/online.scm
119 | 119 | (expected | |
120 | 120 | (catch #t | |
121 | 121 | (lambda () | |
122 | - | (if expected | |
122 | + | (if (string? expected) | |
123 | 123 | (turtle->rdf (get-test-doc expected) expected) | |
124 | 124 | #f)) | |
125 | 125 | (lambda (key . value) | |
… | |||
176 | 176 | (expected | |
177 | 177 | (catch #t | |
178 | 178 | (lambda () | |
179 | - | (if expected | |
179 | + | (if (string? expected) | |
180 | 180 | (turtle->rdf (get-test-doc expected) expected) | |
181 | 181 | #f)) | |
182 | 182 | (lambda (key . value) | |
… | |||
213 | 213 | (update-test-case test #:result 'pass)))) | |
214 | 214 | ("RDFS" | |
215 | 215 | (if (if (equal? expected #f) | |
216 | - | (rdfs:consistent-graph? result) | |
217 | - | (rdfs:entails? result expected recognized)) | |
216 | + | (not (rdfs:consistent-graph? result)) | |
217 | + | (rdfs:entails? result (pk 'expected expected) recognized)) | |
218 | 218 | (if (equal? type "PositiveEntailmentTest") | |
219 | 219 | (update-test-case test #:result 'pass) | |
220 | 220 | (update-test-case test |