Generator clean up.

This commit is contained in:
go-jet 2019-08-14 12:50:31 +02:00
parent 4ab9d73a8b
commit 91dc633b45
8 changed files with 98 additions and 68 deletions

View file

@ -55,8 +55,10 @@ func TestCmdGenerator(t *testing.T) {
err = os.RemoveAll(genTestDir2)
assert.NilError(t, err)
cmd := exec.Command("jet", "-dbname=jetdb", "-host=localhost", "-port=5432",
cmd := exec.Command("jet", "-source=PostgreSQL", "-dbname=jetdb", "-host=localhost", "-port=5432",
"-user=jet", "-password=jet", "-schema=dvds", "-path="+genTestDir2)
cmd.Stderr = os.Stderr
cmd.Stdout = os.Stdout
err = cmd.Run()
assert.NilError(t, err)