mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-21 12:19:03 +03:00
Fix the has not pseudoselector assertion code
This commit is contained in:
parent
f947163e11
commit
7598bac1fc
@ -396,11 +396,7 @@ hasNotPseudoElement pseudoElement highlightMarker relevantHighlightableText view
|
|||||||
|> Query.each (Query.hasNot [ Selector.containing [ Selector.text relevantHighlightableText ] ])
|
|> Query.each (Query.hasNot [ Selector.containing [ Selector.text relevantHighlightableText ] ])
|
||||||
|
|
||||||
Nothing ->
|
Nothing ->
|
||||||
("Expected to find a class defining a " ++ pseudoElement ++ " element with content: `")
|
Expect.pass
|
||||||
++ highlightMarker
|
|
||||||
++ "`, but failed to find the class in the styles: \n\n"
|
|
||||||
++ rawStyles view
|
|
||||||
|> Expect.fail
|
|
||||||
|
|
||||||
|
|
||||||
pseudoElementSelector : String -> String -> Query.Single msg -> Maybe Selector
|
pseudoElementSelector : String -> String -> Query.Single msg -> Maybe Selector
|
||||||
|
Loading…
Reference in New Issue
Block a user