Made data test cases consistent with eachother
This commit is contained in:
parent
3a38465368
commit
f4c079786b
@ -6,14 +6,16 @@ func TestData (test *testing.T) {
|
|||||||
checkTree ("../tests/parser/data", false,
|
checkTree ("../tests/parser/data", false,
|
||||||
`:arf
|
`:arf
|
||||||
---
|
---
|
||||||
data ro aInteger:Int:<3202>
|
data ro aInteger:Int
|
||||||
data ro bMutInteger:Int:mut:<3202>
|
3202
|
||||||
|
data ro bMutInteger:Int:mut
|
||||||
|
3202
|
||||||
data ro cIntegerPointer:{Int}
|
data ro cIntegerPointer:{Int}
|
||||||
data ro dMutIntegerPointer:{Int}:mut
|
data ro dMutIntegerPointer:{Int}:mut
|
||||||
data ro eIntegerArray16:Int:16
|
data ro eIntegerArray16:Int:16
|
||||||
data ro fIntegerArrayVariable:{Int ..}
|
data ro fIntegerArrayVariable:{Int ..}
|
||||||
data ro gIntegerArrayInitialized:Int:16:
|
data ro gIntegerArrayInitialized:Int:16
|
||||||
<
|
(
|
||||||
3948
|
3948
|
||||||
293
|
293
|
||||||
293049
|
293049
|
||||||
@ -25,35 +27,21 @@ data ro gIntegerArrayInitialized:Int:16:
|
|||||||
0
|
0
|
||||||
4785
|
4785
|
||||||
92
|
92
|
||||||
>
|
|
||||||
data rw hIntegerPointerInit:{Int}:<[& integer]>
|
|
||||||
data rw iMutIntegerPointerInit:{Int}:mut:<[& integer]>
|
|
||||||
data ro jObject:Obj:
|
|
||||||
(
|
|
||||||
.that:<324>
|
|
||||||
.this:<324>
|
|
||||||
)
|
)
|
||||||
data ro kNestedObject:Obj:
|
data rw hIntegerPointerInit:{Int}
|
||||||
|
[& integer]
|
||||||
|
data rw iMutIntegerPointerInit:{Int}:mut
|
||||||
|
[& integer]
|
||||||
|
data ro jObject:Obj
|
||||||
(
|
(
|
||||||
.ro newMember:Int:<9023>
|
324
|
||||||
):
|
438
|
||||||
(
|
|
||||||
.that:
|
|
||||||
(
|
|
||||||
.bird2:<123.8439>
|
|
||||||
.bird3:<9328.21348239>
|
|
||||||
)
|
|
||||||
.this:
|
|
||||||
(
|
|
||||||
.bird0:<324>
|
|
||||||
.bird1:<"hello world">
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
data ro lMutIntegerArray16:Int:16:mut
|
data ro lMutIntegerArray16:Int:16:mut
|
||||||
data ro mExternalData:Int:8
|
data ro mExternalData:Int:8
|
||||||
external
|
external
|
||||||
data ro nIntegerArrayInitialized:Int:16:mut:
|
data ro nIntegerArrayInitialized:Int:16:mut
|
||||||
<
|
(
|
||||||
3948
|
3948
|
||||||
293
|
293
|
||||||
293049
|
293049
|
||||||
@ -65,6 +53,6 @@ data ro nIntegerArrayInitialized:Int:16:mut:
|
|||||||
0
|
0
|
||||||
4785
|
4785
|
||||||
92
|
92
|
||||||
>
|
)
|
||||||
`, test)
|
`, test)
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
:arf
|
:arf
|
||||||
---
|
---
|
||||||
|
|
||||||
data ro aInteger:Int: 3202
|
data ro aInteger:Int 3202
|
||||||
|
|
||||||
data ro bMutInteger:Int:mut: 3202
|
data ro bMutInteger:Int:mut 3202
|
||||||
|
|
||||||
data ro cIntegerPointer:{Int}
|
data ro cIntegerPointer:{Int}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user