Browse Source

Add another test

master
J. King 1 year ago
parent
commit
1885ebd315
  1. 3
      tests/cases/third-party/phpmf2/classic/hreview-tag.html
  2. 10
      tests/cases/third-party/phpmf2/classic/hreview-tag.json

3
tests/cases/third-party/phpmf2/classic/hreview-tag.html

@ -2,7 +2,8 @@
The JSON output for this test is a synthesis of the output of multiple The JSON output for this test is a synthesis of the output of multiple
implementations: the content and address values use the textContent parsing implementations: the content and address values use the textContent parsing
algorithm implemented in PHP and JavaScript, while the review date is algorithm implemented in PHP and JavaScript, while the review date is
consistent with Go and Python consistent with Go and Python; URLs are aggressively normalized, though
this is subject to change.
--> -->
<div class="hreview"> <div class="hreview">
<span class="version" style="display:none">0.2</span> <span class="version" style="display:none">0.2</span>

10
tests/cases/third-party/phpmf2/classic/hreview-tag.json

@ -83,18 +83,18 @@
"rels": { "rels": {
"tag": [ "tag": [
"http://www.technorati.com/tag/Garcon", "http://www.technorati.com/tag/Garcon",
"http://www.technorati.com/tag/Garçon" "http://www.technorati.com/tag/Gar%C3%A7on"
] ]
}, },
"rel-urls": { "rel-urls": {
"http://www.technorati.com/tag/Garcon": { "http://www.technorati.com/tag/Gar%C3%A7on": {
"text": "Garcon", "text": "Garçon",
"rels": [ "rels": [
"tag" "tag"
] ]
}, },
"http://www.technorati.com/tag/Garçon": { "http://www.technorati.com/tag/Garcon": {
"text": "Garçon", "text": "Garcon",
"rels": [ "rels": [
"tag" "tag"
] ]

Loading…
Cancel
Save