mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-22 02:50:04 -05:00
check output in test when dolt pull without configs
This commit is contained in:
@@ -17,11 +17,11 @@ package commands
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/dolthub/dolt/go/libraries/doltcore/doltdb"
|
||||
|
||||
"github.com/dolthub/dolt/go/cmd/dolt/cli"
|
||||
"github.com/dolthub/dolt/go/cmd/dolt/errhand"
|
||||
eventsapi "github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi/v1alpha1"
|
||||
"github.com/dolthub/dolt/go/libraries/doltcore/doltdb"
|
||||
"github.com/dolthub/dolt/go/libraries/doltcore/env"
|
||||
"github.com/dolthub/dolt/go/libraries/doltcore/env/actions"
|
||||
"github.com/dolthub/dolt/go/libraries/doltcore/merge"
|
||||
|
||||
@@ -1298,6 +1298,7 @@ SQL
|
||||
# test pull with workspace up to date
|
||||
run dolt pull
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ "Everything up-to-date." ]] || false
|
||||
|
||||
# turn back on the configs and make a change in the remote
|
||||
dolt config --global --add user.name mysql-test-runner
|
||||
|
||||
Reference in New Issue
Block a user