diff --git a/lib/typing/columns/columns_test.go b/lib/typing/columns/columns_test.go index 33a65830c..ebaa6e34f 100644 --- a/lib/typing/columns/columns_test.go +++ b/lib/typing/columns/columns_test.go @@ -10,6 +10,11 @@ import ( "github.com/stretchr/testify/assert" ) +func TestColumn_IsValid(t *testing.T) { + assert.False(t, NewColumn("foo", typing.Invalid).IsValid()) + assert.True(t, NewColumn("foo", typing.String).IsValid()) +} + func TestEscapeName(t *testing.T) { type _testCase struct { name string