This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
arf/parser/skim_test.go

29 lines
439 B
Go
Raw Normal View History

2022-09-05 18:52:37 +00:00
package parser
import "testing"
func TestSkim (test *testing.T) {
checkTree ("../tests/parser/skim", true,
`:arf
---
data ro aExternalData:Int
external
data ro bSingleValue:Int
external
data ro cNestedObject:Obj
external
data ro dUninitialized:Int:16:mut
external
data ro eIntegerArrayInitialized:Int:16:mut
external
func ro fComplexFunction
---
external
func ro gExternalFunction
> x:Int
2022-09-29 15:15:58 +00:00
< arr:Int 5
2022-09-05 18:52:37 +00:00
---
external
`, test)
}