Made some updates to func test case
This commit is contained in:
parent
011c968192
commit
5f0e4697b5
@ -8,13 +8,13 @@ func TestFunc (test *testing.T) {
|
||||
---
|
||||
func ro aBasicExternal
|
||||
> someInput:Int:mut
|
||||
< someOutput:Int:<4>
|
||||
< someOutput:Int 4
|
||||
---
|
||||
external
|
||||
func ro bMethod
|
||||
@ bird:{Bird}
|
||||
> someInput:Int:mut
|
||||
< someOutput:Int:<4>
|
||||
< someOutput:Int 4
|
||||
---
|
||||
external
|
||||
func ro cBasicPhrases
|
||||
@ -99,11 +99,11 @@ func ro gControlFlow
|
||||
[nestedThing]
|
||||
[else]
|
||||
[otherThing]
|
||||
func ro hSetPhrase
|
||||
func ro hDataInit
|
||||
---
|
||||
[let x:Int:<3>]
|
||||
[let y:{Int}:<[loc x]>]
|
||||
[let z:Int:8:<398 9 2309 983 -2387 478 555 123>]
|
||||
[let bird:Bird:(.that:(.whenYou:<99999>) .this:<324>)]
|
||||
[let x:Int 3]
|
||||
[let y:{Int} [loc x]]
|
||||
[let z:Int:8 (398 9 2309 983 -2387 478 555 123)]
|
||||
[let bird:Bird ((99999) 324)]
|
||||
`, test)
|
||||
}
|
||||
|
@ -122,9 +122,9 @@ func ro gControlFlow
|
||||
else
|
||||
otherThing
|
||||
|
||||
func ro hSetPhrase
|
||||
func ro hDataInit
|
||||
---
|
||||
let x:Int:<3>
|
||||
let x:Int 3
|
||||
# loc is a reference, similar to * in C
|
||||
let y:{Int} [loc x]
|
||||
let z:Int:8 (398 9 2309 983 -2387
|
||||
|
Reference in New Issue
Block a user