File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,36 +19,34 @@ inTypeAliases : Test
1919inTypeAliases =
2020 test " In type aliases" <|
2121 \ _ ->
22- Elm . Expect . fileContentAs
23- ( Elm . file [ " Foo" ]
24- [ Elm . alias " Bar" ( Elm . Annotation . named [ " Foo" ] " Baz" ) ]
25- )
26- """
27- module Foo exposing (..)
22+ Elm . file [ " Foo" ]
23+ [ Elm . alias " Bar" ( Elm . Annotation . named [ " Foo" ] " Baz" ) ]
24+ |> Elm . Expect . fileContentAs
25+ """
26+ module Foo exposing (..)
2827
2928
30- type alias Bar =
31- Baz
32- """
29+ type alias Bar =
30+ Baz
31+ """
3332
3433
3534inAnnotation : Test
3635inAnnotation =
3736 test " In annotation" <|
3837 \ _ ->
39- Elm . Expect . fileContentAs
40- ( Elm . file [ " Foo" ]
41- [ Elm . fn
42- ( Elm . Arg . varWith " v" ( Elm . Annotation . named [ " Foo" ] " Baz" ))
43- identity
44- |> Elm . declaration " id"
45- ]
46- )
47- """
48- module Foo exposing (..)
49-
50-
51- id : Baz -> Baz
52- id v =
53- v
54- """
38+ Elm . file [ " Foo" ]
39+ [ Elm . fn
40+ ( Elm . Arg . varWith " v" ( Elm . Annotation . named [ " Foo" ] " Baz" ))
41+ identity
42+ |> Elm . declaration " id"
43+ ]
44+ |> Elm . Expect . fileContentAs
45+ """
46+ module Foo exposing (..)
47+
48+
49+ id : Baz -> Baz
50+ id v =
51+ v
52+ """
You can’t perform that action at this time.
0 commit comments