mirror of
https://github.com/Orasund/elm-ui-widgets.git
synced 2024-11-22 13:14:10 +03:00
37 lines
1.1 KiB
Elm
37 lines
1.1 KiB
Elm
|
module VerifyExamples.Widget.SingleModal0 exposing (..)
|
||
|
|
||
|
-- This file got generated by [elm-verify-examples](https://github.com/stoeffel/elm-verify-examples).
|
||
|
-- Please don't modify this file by hand!
|
||
|
|
||
|
import Test
|
||
|
import Expect
|
||
|
|
||
|
import Widget exposing (..)
|
||
|
import Element
|
||
|
|
||
|
type Msg
|
||
|
= Close
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
spec0 : Test.Test
|
||
|
spec0 =
|
||
|
Test.test "#singleModal: \n\n Element.layout\n (singleModal\n [ { onDismiss = Just Close\n , content =\n Element.text \"Click outside this window to close it.\"\n }\n ]\n )\n |> always \"Ignore this line\"\n --> \"Ignore this line\"" <|
|
||
|
\() ->
|
||
|
Expect.equal
|
||
|
(
|
||
|
Element.layout
|
||
|
(singleModal
|
||
|
[ { onDismiss = Just Close
|
||
|
, content =
|
||
|
Element.text "Click outside this window to close it."
|
||
|
}
|
||
|
]
|
||
|
)
|
||
|
|> always "Ignore this line"
|
||
|
)
|
||
|
(
|
||
|
"Ignore this line"
|
||
|
)
|