initial commits
parent
af435d220e
commit
6cbe8f2b35
|
@ -18,7 +18,7 @@ func TestWriteSkeleFrame(t *testing.T) {
|
||||||
Head: "",
|
Head: "",
|
||||||
Expected:
|
Expected:
|
||||||
`<!DOCTYPE html>`+"\n"+
|
`<!DOCTYPE html>`+"\n"+
|
||||||
`<html xmlns="http://www.w3.org/1999/xhtml" lang="en">`+"\n"+
|
`<html xmlns="http://www.w3.org/1999/xhtml">`+"\n"+
|
||||||
`<head>`+"\n"+
|
`<head>`+"\n"+
|
||||||
`<meta charset="utf-8" />`+"\n"+
|
`<meta charset="utf-8" />`+"\n"+
|
||||||
`</head>`+"\n"+
|
`</head>`+"\n"+
|
||||||
|
@ -33,7 +33,7 @@ func TestWriteSkeleFrame(t *testing.T) {
|
||||||
Head: `<!-- Hello world! -->`+"\n",
|
Head: `<!-- Hello world! -->`+"\n",
|
||||||
Expected:
|
Expected:
|
||||||
`<!DOCTYPE html>`+"\n"+
|
`<!DOCTYPE html>`+"\n"+
|
||||||
`<html xmlns="http://www.w3.org/1999/xhtml" lang="en">`+"\n"+
|
`<html xmlns="http://www.w3.org/1999/xhtml">`+"\n"+
|
||||||
`<head>`+"\n"+
|
`<head>`+"\n"+
|
||||||
`<meta charset="utf-8" />`+"\n"+
|
`<meta charset="utf-8" />`+"\n"+
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ func TestWriteSkeleFrame(t *testing.T) {
|
||||||
Head: `<meta property="hello" content="world" />`+"\n",
|
Head: `<meta property="hello" content="world" />`+"\n",
|
||||||
Expected:
|
Expected:
|
||||||
`<!DOCTYPE html>`+"\n"+
|
`<!DOCTYPE html>`+"\n"+
|
||||||
`<html xmlns="http://www.w3.org/1999/xhtml" lang="en">`+"\n"+
|
`<html xmlns="http://www.w3.org/1999/xhtml">`+"\n"+
|
||||||
`<head>`+"\n"+
|
`<head>`+"\n"+
|
||||||
`<meta charset="utf-8" />`+"\n"+
|
`<meta charset="utf-8" />`+"\n"+
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ func TestWriteSkeleFrame(t *testing.T) {
|
||||||
`<meta property="og:image" content="https://example.com/path/to/img.png" />`+"\n",
|
`<meta property="og:image" content="https://example.com/path/to/img.png" />`+"\n",
|
||||||
Expected:
|
Expected:
|
||||||
`<!DOCTYPE html>`+"\n"+
|
`<!DOCTYPE html>`+"\n"+
|
||||||
`<html xmlns="http://www.w3.org/1999/xhtml" lang="en">`+"\n"+
|
`<html xmlns="http://www.w3.org/1999/xhtml">`+"\n"+
|
||||||
`<head>`+"\n"+
|
`<head>`+"\n"+
|
||||||
`<meta charset="utf-8" />`+"\n"+
|
`<meta charset="utf-8" />`+"\n"+
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue