aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <tingwei.lan@cobinhood.com>2019-03-27 15:21:59 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-05-06 10:44:04 +0800
commita80a7eaa8ecaf56ae98c07a53f410506ccfc603e (patch)
treeae8dfef2f877f5c6d448252254e7e21a46f7f75c
parent21920a48d70856b29bdb390d12f2eb5cb10ef4b9 (diff)
downloaddexon-a80a7eaa8ecaf56ae98c07a53f410506ccfc603e.tar.gz
dexon-a80a7eaa8ecaf56ae98c07a53f410506ccfc603e.tar.zst
dexon-a80a7eaa8ecaf56ae98c07a53f410506ccfc603e.zip
core: vm: sqlvm: ast: rename TestSize
It is the last test function which doesn't mention what kind of data it operates on.
-rw-r--r--core/vm/sqlvm/ast/types_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/sqlvm/ast/types_test.go b/core/vm/sqlvm/ast/types_test.go
index 000ae2cc8..b44f818cb 100644
--- a/core/vm/sqlvm/ast/types_test.go
+++ b/core/vm/sqlvm/ast/types_test.go
@@ -188,7 +188,7 @@ func (s *TypesTestSuite) TestDataTypeGetMinMax() {
}
}
-func (s *TypesTestSuite) TestSize() {
+func (s *TypesTestSuite) TestDataTypeSize() {
testcases := []struct {
Name string
Dt DataType