Skip to content

Commit

Permalink
Standardize on 4-space indent in ruleset-testing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed Jan 7, 2016
1 parent 838bf86 commit a1995d2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ruleset-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ target host with a left-side wildcard, and at least ten test URLs for each
target host with a right-side wildcard. But this is not yet implemented.

# Example:
<ruleset name="example.com">
<target host="example.com" />
<target host="*.example.com" />
<ruleset name="example.com">
<target host="example.com" />
<target host="*.example.com" />

<test url="http://www.example.com/" />
<test url="http://beta.example.com/" />
<test url="http://www.example.com/" />
<test url="http://beta.example.com/" />

<rule from="^http://([\w-]+\.)?dezeen\.com/"
to="https://$1dezeen.com/" />
<rule from="^http://([\w-]+\.)?dezeen\.com/"
to="https://$1dezeen.com/" />

</ruleset>
</ruleset>

This ruleset has one implicit test URL from a target host
("http://example.com/"). The other target host has a wildcard, so creates no
Expand All @@ -63,4 +63,4 @@ a submodule of https-everywhere. To set it up, run:

To test a specific ruleset:

./fetch-test.sh rules/Example.xml
./fetch-test.sh rules/Example.xml

0 comments on commit a1995d2

Please sign in to comment.