mirror of
https://github.com/VinGarcia/ksql.git
synced 2025-07-11 13:09:07 +00:00
Test ScanArgError
This commit is contained in:
parent
c676e8f799
commit
ce5c0f2890
@ -9,6 +9,15 @@ import (
|
|||||||
"github.com/vingarcia/ksql/sqldialect"
|
"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) {
|
func TestConfigSetDefaultValues(t *testing.T) {
|
||||||
config := Config{}
|
config := Config{}
|
||||||
config.SetDefaultValues()
|
config.SetDefaultValues()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user