Fix test
This commit is contained in:
parent
4b85a66d93
commit
c8e2aaf2a8
@ -45,7 +45,7 @@ main = hspec $ do
|
|||||||
expected = "<input name=\"_token\" type=\"hidden\" value=\"bar\" />"
|
expected = "<input name=\"_token\" type=\"hidden\" value=\"bar\" />"
|
||||||
in it query $ findBySelector_ html (pack query) @?= [expected]
|
in it query $ findBySelector_ html (pack query) @?= [expected]
|
||||||
it "descendents" $
|
it "descendents" $
|
||||||
let html = "<p><b><i>hello</i></b></p>"
|
let html = "<html><p><b><i>hello</i></b></p></html>"
|
||||||
query = "p i"
|
query = "p i"
|
||||||
in findBySelector_ html query @?= ["<i>hello</i>"]
|
in findBySelector_ html query @?= ["<i>hello</i>"]
|
||||||
describe "HTML parsing" $ do
|
describe "HTML parsing" $ do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user