Improved the skim test case
This commit is contained in:
parent
736f117fac
commit
5940d47ad7
@ -205,13 +205,21 @@ testString (test,
|
|||||||
func TestSkim (test *testing.T) {
|
func TestSkim (test *testing.T) {
|
||||||
testStringSkim (test,
|
testStringSkim (test,
|
||||||
// correct
|
// correct
|
||||||
`+ X:Int
|
`- PrivType: Int
|
||||||
|
~ RestrictType: Int
|
||||||
|
+ ComplexType: (. parser:Parser tree:*Tree skim:Bool)
|
||||||
|
+ X: Int
|
||||||
+ X.[pub]:Int
|
+ X.[pub]:Int
|
||||||
+ X.[alreadyExternal]
|
+ X.[alreadyExternal]
|
||||||
+ [alreadyExternal]
|
+ [alreadyExternal]
|
||||||
+ [pub]:X`,
|
+ [pub]:X`,
|
||||||
// input
|
// input
|
||||||
`
|
`- PrivType:Int
|
||||||
|
~ RestrictType:Int
|
||||||
|
+ ComplexType: (.
|
||||||
|
parser:Parser
|
||||||
|
tree:*Tree
|
||||||
|
skim:Bool)
|
||||||
+ X:Int
|
+ X:Int
|
||||||
+ X.[pub]:Int = 5
|
+ X.[pub]:Int = 5
|
||||||
- X.[priv]:Int = 2
|
- X.[priv]:Int = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user