forked from microformats/tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update tests to always resolve relative URLs
updates tests to match microformats/microformats2-parsing#10 by fixing one broken test in v1/hcard/email, and adding a new test in v2/hcard-relativeurlsempty that will pass only with the new parsing rules implemented.
- Loading branch information
1 parent
8d6a658
commit 5024fa2
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
<base href="http://example.com/profile"> | ||
<div class="h-card"> | ||
<a class="p-name u-url u-uid" href="">Max Mustermann</a> | ||
</div> | ||
<a class="p-name u-url" href="">Max Mustermann</a> | ||
|
||
<!-- no value attribute, so get text content --> | ||
<data class="u-uid"> | ||
</div> |