add div, section, span
This commit is contained in:
parent
e092c3db60
commit
24cfbe8727
2 changed files with 21 additions and 0 deletions
|
@ -8,6 +8,18 @@ in
|
|||
expected = html.tag "p" {} "foobar";
|
||||
actual = p "foobar";
|
||||
})
|
||||
(it "makes a div tag" {
|
||||
expected = html.tag "div" {} "foobar";
|
||||
actual = div "foobar";
|
||||
})
|
||||
(it "makes a section tag" {
|
||||
expected = html.tag "section" {} "foobar";
|
||||
actual = section "foobar";
|
||||
})
|
||||
(it "makes a span tag" {
|
||||
expected = html.tag "span" {} "foobar";
|
||||
actual = span "foobar";
|
||||
})
|
||||
(it "makes a main tag" {
|
||||
expected = html.tag "main" {} ["yeet"];
|
||||
actual = main ["yeet"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue