Closed michaelcpuckett closed 4 years ago
This is passing the new test, but a more complicated test is failing locally. I'll leave this open while I look further.
A test like this should be added to the main test suite too.
OK, it's working now.
I moved the 3 tests to here:
https://github.com/w3c/json-ld-framing/pull/100
I emailed the group regarding adding the tests.
You can remove the following lines from test-common:
/frame-manifest.jsonld#tin01$/,
/frame-manifest.jsonld#tin02$/,
This still leaves 2 list tests and one included test, which might have a related fix.
It ended up that tin03 was failing because framing was order dependent. I updated the test to simplify, so tin03 passes too and the following can be removed from test-common.js:
// included
/frame-manifest.jsonld#tin01$/,
/frame-manifest.jsonld#tin02$/,
/frame-manifest.jsonld#tin03$/,
Thanks!
This fixes #300 to match behavior in RDF Distiller.
This moves the initial check on the node to see if it has any properties so that value matches can be checked.
I added a test based on the issue.
(Originally opened #373 but spotted an issue after checking the test-suites -- Now all tests are passing locally.)