on develop help sign in
pass hlint
commit9ee9d4fd5389d629a88148867c50264e0bce5905 authorJimmy Hartzell <jimmy.hartzell@obsidian.systems> dateTue 28 Jan 2020, 16:05 (7 years ago) parent9edad7d
1 file changed+2−2
reflex-dom-core/test/hydration.hs+2−2
reflex-dom-core/test/hydration.hs+2−2
@@ -774,8 +774,8 @@ tests withDebugging wdConfig caps _selenium = do
774774 it "dyn can be nested in namespaced widget" $ runWD $ do
775775 testWidget (pure ()) (checkTextInTag "svg" "one") $ do
776776 let svgRootCfg = def
777− & elementConfig_namespace .~ Just "http://www.w3.org/2000/svg"
778− & elementConfig_initialAttributes .~ ("width" =: "100%" <> "height" =: "100%" <> "viewBox" =: "0 0 1536 2048")
777+ & (elementConfig_namespace ?~ "http://www.w3.org/2000/svg")
778+ & (elementConfig_initialAttributes .~ ("width" =: "100%" <> "height" =: "100%" <> "viewBox" =: "0 0 1536 2048"))
779779 void $ element "svg" svgRootCfg $ do
780780 dyn_ $ text "one" <$ pure ()
781781