Modified parser data test to have uninitialized pointer cases
This commit is contained in:
parent
45bc798d19
commit
0025d03a18
@ -44,8 +44,8 @@ func TestData (test *testing.T) {
|
||||
---
|
||||
data wr integer:Int 3202
|
||||
data wr mutInteger:Int:mut 3202
|
||||
data wr integerPointer:{Int} [& integer]
|
||||
data wr mutIntegerPointer:{Int}:mut [& integer]
|
||||
data wr integerPointer:{Int}
|
||||
data wr mutIntegerPointer:{Int}:mut
|
||||
data wr integerArray16:{Int 16}
|
||||
data wr integerArrayVariable:{Int ...}
|
||||
data wr integerArrayInitialized:{Int 16}
|
||||
@ -60,6 +60,8 @@ data wr integerArrayInitialized:{Int 16}
|
||||
0
|
||||
4785
|
||||
92
|
||||
data wr integerPointerInit:{Int} [& integer]
|
||||
data wr mutIntegerPointerInit:{Int}:mut [& integer]
|
||||
data wr object:Obj
|
||||
, this 324
|
||||
, that 2139
|
||||
|
@ -5,9 +5,9 @@ data wr integer:Int 3202
|
||||
|
||||
data wr mutInteger:Int:mut 3202
|
||||
|
||||
data wr integerPointer:{Int} [& integer]
|
||||
data wr integerPointer:{Int}
|
||||
|
||||
data wr mutIntegerPointer:{Int}:mut [& integer]
|
||||
data wr mutIntegerPointer:{Int}:mut
|
||||
|
||||
data wr integerArray16:{Int 16}
|
||||
|
||||
@ -16,6 +16,10 @@ data wr integerArrayVariable:{Int ...}
|
||||
data wr integerArrayInitialized:{Int 16}
|
||||
3948 293 293049 948 912
|
||||
340 0 2304 0 4785 92
|
||||
|
||||
data wr integerPointerInit:{Int} [& integer]
|
||||
|
||||
data wr mutIntegerPointerInit:{Int}:mut [& integer]
|
||||
|
||||
data wr object:Obj
|
||||
, this 324
|
||||
|
Reference in New Issue
Block a user