diff options
Diffstat (limited to 'core/vm/sqlvm/ast/types_test.go')
-rw-r--r-- | core/vm/sqlvm/ast/types_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/vm/sqlvm/ast/types_test.go b/core/vm/sqlvm/ast/types_test.go index b44f818cb..89a000251 100644 --- a/core/vm/sqlvm/ast/types_test.go +++ b/core/vm/sqlvm/ast/types_test.go @@ -82,7 +82,8 @@ func (s *TypesTestSuite) TestEncodeDataTypeError() { } func (s *TypesTestSuite) TestDecodeDataTypeError() { - s.requireDecodeDataTypeError(DataTypeUnknown) + s.requireDecodeDataTypeError(DataTypePending) + s.requireDecodeDataTypeError(DataTypeBad) s.requireDecodeDataTypeError(ComposeDataType(DataTypeMajorInt, 0x20)) s.requireDecodeDataTypeError(ComposeDataType(DataTypeMajorUint, 0x20)) s.requireDecodeDataTypeError(ComposeDataType(DataTypeMajorFixedBytes, 0x20)) |