-
-
Notifications
You must be signed in to change notification settings - Fork 698
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
.deep.property('https://schema.org/mentions[0]') is not resolved #398
Comments
Hi @oncletom thanks for the issue.
Using a URL is not compatible as URLs have ['https://schema', 'org/mentions', 0] We could attempt to implement escaping of the control characters ( expect(dataStructure).to.have.property('https://schema.org/mentions').have.property(0, 'http://dbpedia.org/resource/London_Daily_News'); I'm going to close this issue - as I feel like the above will solve your problem. If you still really want to use If you have any problems further to this issue, feel free to comment here or raise a new issue. |
Thanks for your feedback. This is how I ended up anyway. I just was not sure if I did something wrong or not. So 👍 |
You rock @keithamus :-) thanks for the follow-up! |
I have the following object structure:
I then run the following assertion:
An exception is raised:
If I change the
https://schema.org/mentions
key tomentions
only, the assertion works.The text was updated successfully, but these errors were encountered: