add __self to styled
This commit is contained in:
parent
a7c1a1c7de
commit
ccc6b53b91
3 changed files with 30 additions and 18 deletions
|
@ -45,7 +45,7 @@ in
|
|||
asString = true;
|
||||
})
|
||||
(it "makes an a tag" {
|
||||
expected = html.tag "a" {href = "https://example.com";} "example";
|
||||
expected = html.tag "a" {class = ["link"]; href = "https://example.com";} "example";
|
||||
actual = link "https://example.com" "example";
|
||||
asString = true;
|
||||
})
|
||||
|
@ -54,7 +54,7 @@ in
|
|||
href = "/style";
|
||||
rel = "stylesheet";
|
||||
} "";
|
||||
actual = stylesheet "/style";
|
||||
actual = stylesheet {href = "/style"; };
|
||||
asString = true;
|
||||
})
|
||||
(it "makes a list" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue