build in test

This commit is contained in:
1vn 2018-11-12 15:41:56 -05:00
parent 2c82cdc8c5
commit 2c9dbcf7ef

View File

@ -26,7 +26,7 @@ func TestDefaultBinary(t *testing.T) {
func TestLiteBinary(t *testing.T) { func TestLiteBinary(t *testing.T) {
commands := []string{ commands := []string{
"go build -i -o goose ./cmd/goose", "go build -i -o goose-lite ./cmd/goose-lite",
"./goose-lite -dir=examples/sql-migrations create user_table sql", "./goose-lite -dir=examples/sql-migrations create user_table sql",
"./goose-lite -dir=examples/sql-migrations create user_indices sql", "./goose-lite -dir=examples/sql-migrations create user_indices sql",
"./goose-lite -dir=examples/sql-migrations fix", "./goose-lite -dir=examples/sql-migrations fix",