From 5a495c88a4ac274b3dd17292b748a258fcc981d3 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Tue, 5 Nov 2024 13:13:44 -0800 Subject: [PATCH] Clean up. --- lib/mysql/schema/schema_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mysql/schema/schema_test.go b/lib/mysql/schema/schema_test.go index 2304a344..58fbe6db 100644 --- a/lib/mysql/schema/schema_test.go +++ b/lib/mysql/schema/schema_test.go @@ -67,10 +67,10 @@ func TestParseColumnDataType(t *testing.T) { } } { - // tinyint(1) or boolean + // tinyint(1) should still be an integer dataType, _, err := parseColumnDataType("tinyint(1)") assert.NoError(t, err) - assert.Equal(t, Boolean, dataType) + assert.Equal(t, TinyInt, dataType) } { // String