elm-ui-widgets/tests/VerifyExamples/Widget/MultiLineItem0.elm

38 lines
1.4 KiB
Elm
Raw Permalink Normal View History

2021-02-03 00:22:10 +03:00
module VerifyExamples.Widget.MultiLineItem0 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 Widget.Material as Material
import Element
spec0 : Test.Test
spec0 =
2021-02-05 22:49:17 +03:00
Test.test "#multiLineItem: \n\n [ Widget.multiLineItem (Material.multiLineItem Material.defaultPalette)\n { title = \"Title\"\n , onPress = Nothing\n , icon = always Element.none\n , text = \"Item\"\n , content = always Element.none\n }\n ]\n |> Widget.itemList (Material.cardColumn Material.defaultPalette)\n |> always \"Ignore this line\"\n --> \"Ignore this line\"" <|
2021-02-03 00:22:10 +03:00
\() ->
Expect.equal
(
[ Widget.multiLineItem (Material.multiLineItem Material.defaultPalette)
{ title = "Title"
, onPress = Nothing
, icon = always Element.none
, text = "Item"
2021-02-05 22:49:17 +03:00
, content = always Element.none
2021-02-03 00:22:10 +03:00
}
]
|> Widget.itemList (Material.cardColumn Material.defaultPalette)
|> always "Ignore this line"
)
(
"Ignore this line"
)