From: bep Date: Sun, 3 May 2015 18:09:36 +0000 (+0200) Subject: Fix testdata: srcset items should be comma separated, according to spec X-Git-Tag: v0.14~92 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=beb601c7;p=brevno-suite%2Fhugo Fix testdata: srcset items should be comma separated, according to spec See #1059 --- diff --git a/transform/chain_test.go b/transform/chain_test.go index 242d571e..10d47e9d 100644 --- a/transform/chain_test.go +++ b/transform/chain_test.go @@ -29,22 +29,22 @@ const REPLACE_SCHEMALESS_XML = `Pre. src='//schemaless' src='/normal const REPLACE_SCHEMALESS_XML_CORRECT = `Pre. src='//schemaless' src='http://base/normal' Schemaless. normal. Post.` // srcset= -const SRCSET_BASIC = `Pre. text` -const SRCSET_BASIC_CORRECT = `Pre. text` -const SRCSET_SINGLE_QUOTE = `Pre. text POST.` -const SRCSET_SINGLE_QUOTE_CORRECT = `Pre. text POST.` -const SRCSET_XML_BASIC = `Pre. "text"` -const SRCSET_XML_BASIC_CORRECT = `Pre. "text"` -const SRCSET_XML_SINGLE_QUOTE = `Pre. "text"` -const SRCSET_XML_SINGLE_QUOTE_CORRECT = `Pre. "text"` +const SRCSET_BASIC = `Pre. text` +const SRCSET_BASIC_CORRECT = `Pre. text` +const SRCSET_SINGLE_QUOTE = `Pre. text POST.` +const SRCSET_SINGLE_QUOTE_CORRECT = `Pre. text POST.` +const SRCSET_XML_BASIC = `Pre. "text"` +const SRCSET_XML_BASIC_CORRECT = `Pre. "text"` +const SRCSET_XML_SINGLE_QUOTE = `Pre. "text"` +const SRCSET_XML_SINGLE_QUOTE_CORRECT = `Pre. "text"` const SRCSET_VARIATIONS = `Pre. -Missing start quote: text src='/img/foo.jpg'> FOO. +Missing start quote: text src='/img/foo.jpg'> FOO. schemaless: schemaless2: text src='http://base/img/foo.jpg'> FOO. +Missing start quote: text src='http://base/img/foo.jpg'> FOO. schemaless: schemaless2: