Made some updates to func test case

This commit is contained in:
Sasha Koshka 2022-09-29 02:18:47 -04:00
parent 011c968192
commit 5f0e4697b5
2 changed files with 9 additions and 9 deletions

View File

@ -8,13 +8,13 @@ func TestFunc (test *testing.T) {
--- ---
func ro aBasicExternal func ro aBasicExternal
> someInput:Int:mut > someInput:Int:mut
< someOutput:Int:<4> < someOutput:Int 4
--- ---
external external
func ro bMethod func ro bMethod
@ bird:{Bird} @ bird:{Bird}
> someInput:Int:mut > someInput:Int:mut
< someOutput:Int:<4> < someOutput:Int 4
--- ---
external external
func ro cBasicPhrases func ro cBasicPhrases
@ -99,11 +99,11 @@ func ro gControlFlow
[nestedThing] [nestedThing]
[else] [else]
[otherThing] [otherThing]
func ro hSetPhrase func ro hDataInit
--- ---
[let x:Int:<3>] [let x:Int 3]
[let y:{Int}:<[loc x]>] [let y:{Int} [loc x]]
[let z:Int:8:<398 9 2309 983 -2387 478 555 123>] [let z:Int:8 (398 9 2309 983 -2387 478 555 123)]
[let bird:Bird:(.that:(.whenYou:<99999>) .this:<324>)] [let bird:Bird ((99999) 324)]
`, test) `, test)
} }

View File

@ -122,9 +122,9 @@ func ro gControlFlow
else else
otherThing otherThing
func ro hSetPhrase func ro hDataInit
--- ---
let x:Int:<3> let x:Int 3
# loc is a reference, similar to * in C # loc is a reference, similar to * in C
let y:{Int} [loc x] let y:{Int} [loc x]
let z:Int:8 (398 9 2309 983 -2387 let z:Int:8 (398 9 2309 983 -2387