Fix the imports I botched really badly
Apparently I don't understand how go modules work.
This commit is contained in:
parent
44d981fbfc
commit
41fe97d336
169 changed files with 365 additions and 362 deletions
|
|
@ -1,7 +1,8 @@
|
|||
package template
|
||||
|
||||
import (
|
||||
"source.gleipnir.technology/Gleipnir/jet/generator/metadata"
|
||||
"source.gleipnir.technology/Gleipnir/jet/v2/internal/jet"
|
||||
"source.gleipnir.technology/Gleipnir/jet/v2/generator/metadata"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
)
|
||||
|
|
@ -26,9 +27,11 @@ func TestColumnRenameReserved(t *testing.T) {
|
|||
{col: "OtherColumn", want: "OtherColumn"},
|
||||
}
|
||||
|
||||
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.col, func(t *testing.T) {
|
||||
builder := DefaultTableSQLBuilderColumn(metadata.Column{
|
||||
dialect := jet.NewDialect(jet.DialectParams{})
|
||||
builder := DefaultTableSQLBuilderColumn(dialect, metadata.Column{
|
||||
Name: tt.col,
|
||||
})
|
||||
require.Equal(t, builder.Name, tt.want)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue