initial commits

master
Charles Iliya Krempeaux 2024-02-15 09:23:07 -08:00
parent af435d220e
commit 6cbe8f2b35
1 changed files with 4 additions and 4 deletions

View File

@ -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"+