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 ] ])
|
||||
|
||||
Nothing ->
|
||||
("Expected to find a class defining a " ++ pseudoElement ++ " element with content: `")
|
||||
++ highlightMarker
|
||||
++ "`, but failed to find the class in the styles: \n\n"
|
||||
++ rawStyles view
|
||||
|> Expect.fail
|
||||
Expect.pass
|
||||
|
||||
|
||||
pseudoElementSelector : String -> String -> Query.Single msg -> Maybe Selector
|
||||
|
Loading…
Reference in New Issue
Block a user