on master help sign in
update tests for input/output syntax
commitda476ffa31219fa67f49249e7338cbc4432d8859 authorEvan Czaplicki <info@elm-lang.org> dateTue 17 Feb 2015, 01:58 (12 years ago) parent5e77639
2 files changed+13−13
tests/test-files/good/Ports.elm+11−11 tests/test-files/good/PortsWithTypeAliases.elm+2−2
tests/test-files/good/Ports.elm+11−11
@@ -1,17 +1,17 @@
11
22-- incoming
3−port userID : String
4−port signal : Signal Int
5−port tuple : (Float,Bool)
6−port array : List Int
7−port record : { x:Float, y:Float }
3+input userID : String
4+input signal : Signal Int
5+input tuple : (Float,Bool)
6+input array : List Int
7+input record : { x:Float, y:Float }
88
99-- outgoing
10−port fortyTwo : Int
11−port fortyTwo = 42
10+output fortyTwo : Int
11+output fortyTwo = 42
1212
13−port time : Signal Float
14−port time = every second
13+output time : Signal Float
14+output time = every second
1515
16−port students : Signal (List {name:String, age:Int})
17−port students = constant []
16+output students : Signal (List {name:String, age:Int})
17+output students = constant []
tests/test-files/good/PortsWithTypeAliases.elm+2−2
@@ -6,7 +6,7 @@ type alias Point a b =
66 { x:a, y:b }
77
88
9−port points : Signal Point2D
9+input points : Signal Point2D
1010
1111
12−port pairs : Signal (Point String String)
12+input pairs : Signal (Point String String)