diff --git a/ksql_test.go b/ksql_test.go index 17f9409..ba997ef 100644 --- a/ksql_test.go +++ b/ksql_test.go @@ -9,6 +9,15 @@ import ( "github.com/vingarcia/ksql/sqldialect" ) +func TestScanArgError(t *testing.T) { + err := ScanArgError{ + ColumnIndex: 12, + Err: io.EOF, + } + + tt.AssertErrContains(t, err, "input attribute", "index 12", "EOF") +} + func TestConfigSetDefaultValues(t *testing.T) { config := Config{} config.SetDefaultValues()