diff options
author | clsr <clsr@clsr.net> | 2021-12-23 01:54:47 +0000 |
---|---|---|
committer | clsr <clsr@clsr.net> | 2021-12-23 02:51:49 +0000 |
commit | 43428e759d9fbc5a319c2b929bfb4469938cc386 (patch) | |
tree | 1ee452ff23249bf10653481599f8639aa46ceb25 /parse_test.go | |
parent | 690a7183d7eca35b59e23e556b0c6492df08ffa5 (diff) | |
download | cnm-go-master.tar.gz cnm-go-master.zip |
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"}, }, |