mirror of
https://github.com/Orasund/elm-ui-widgets.git
synced 2024-11-22 22:33:33 +03:00
38 lines
1.4 KiB
Elm
38 lines
1.4 KiB
Elm
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 =
|
|
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\"" <|
|
|
\() ->
|
|
Expect.equal
|
|
(
|
|
[ Widget.multiLineItem (Material.multiLineItem Material.defaultPalette)
|
|
{ title = "Title"
|
|
, onPress = Nothing
|
|
, icon = always Element.none
|
|
, text = "Item"
|
|
, content = always Element.none
|
|
}
|
|
]
|
|
|> Widget.itemList (Material.cardColumn Material.defaultPalette)
|
|
|> always "Ignore this line"
|
|
)
|
|
(
|
|
"Ignore this line"
|
|
) |