Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lax version of toBeRdfIsomorphic with value-based matching for literals instead of strict same-term equality #43

Open
grenik opened this issue Jan 11, 2023 · 1 comment

Comments

@grenik
Copy link

grenik commented Jan 11, 2023

Could you please add the same functionality as in rubensworks/rdf-test-suite.js#37?
I would like to use your toBeRdfIsomorphic matcher for W3C RDF / SPARQL 1.1 test cases and similar ones

Currently you support strict same-term matching only:

if (received.termType !== 'BlankNode' && !received.equals(actual)) {

@rubensworks
Copy link
Owner

Sure, a PR is definitely welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants