diff options
Diffstat (limited to 'parse_test.go')
-rw-r--r-- | parse_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/parse_test.go b/parse_test.go index e70b833..1c7dad9 100644 --- a/parse_test.go +++ b/parse_test.go @@ -269,7 +269,7 @@ var parseTests = map[string]*Document{ "title\n\tfoo bar\n" + "links\n\tqwe asd\n\tzxc 123\n" + - "site\n\tfoo\n\t\tbar\n\t\tbaz/quux\n\t\t\t123\n" + + "site\n\tfoo Foo\n\t\tbar\n\t\tbaz/qu\\ ux Test\n\t\t\t123\n" + "title\n\tbaz\n" + "links\n\tfoo\n" + "site\n\ttest": &Document{ @@ -283,10 +283,12 @@ var parseTests = map[string]*Document{ Children: []Site{ Site{ Path: "foo", + Name: "Foo", Children: []Site{ Site{Path: "bar"}, Site{ - Path: "baz/quux", + Path: "baz/qu ux", + Name: "Test", Children: []Site{ Site{Path: "123"}, }, |