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

Fix typos in tests/manifest.html and template.haml #234

Merged
merged 1 commit into from
Dec 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/manifest.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>JSON-LD Test Suite</h1>
that constitute JSON-LD. The goal of the suite is to provide an easy and
comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.</p>

<p>The <a href="https://w3.org/TR/json-ld11-framing">JSON-LD Framing Specification</a> maintains it&#39;s own
<p>The <a href="https://w3.org/TR/json-ld11-framing">JSON-LD Framing Specification</a> maintains its own
<a href="https://w3c.github.io/json-ld-framing/tests/">test suite</a>.</p>

<h2>General instructions for running the JSON-LD Test suites</h2>
Expand Down Expand Up @@ -81,7 +81,7 @@ <h2 id="json-ld-object-comparison">JSON-LD Object comparison</h2>
<p>JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.</p>

<ul>
<li>JSON objects are compared entry by entry without regard to the ordering of entriess within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.</li>
<li>JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.</li>
<li>JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is <code>@list</code>). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of <code>@list</code>, the order of these items is significant.</li>
<li>JSON values are compared using strict equality.</li>
<li>Values of <code>@language</code>, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.</li>
Expand Down
4 changes: 2 additions & 2 deletions tests/template.haml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
that constitute JSON-LD. The goal of the suite is to provide an easy and
comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

The [JSON-LD Framing Specification](https://w3.org/TR/json-ld11-framing) maintains it's own
The [JSON-LD Framing Specification](https://w3.org/TR/json-ld11-framing) maintains its own
[test suite](https://w3c.github.io/json-ld-framing/tests/).

## General instructions for running the JSON-LD Test suites
Expand Down Expand Up @@ -100,7 +100,7 @@

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

* JSON objects are compared entry by entry without regard to the ordering of entriess within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
* JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
* JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is `@list`). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of `@list`, the order of these items is significant.
* JSON values are compared using strict equality.
* Values of `@language`, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
Expand Down