mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-31 12:19:08 -06:00
edit output checks in reset ignore tests
This commit is contained in:
@@ -330,7 +330,9 @@ SQL
|
||||
|
||||
run dolt status
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ "nothing to commit, working tree clean" ]]
|
||||
[[ "$output" =~ "Untracked tables:" ]] || false
|
||||
[[ "$output" =~ " (use \"dolt add <table>\" to include in what will be committed)" ]] || false
|
||||
[[ "$output" =~ " new table: dolt_ignore" ]] || false
|
||||
|
||||
run dolt sql -q "select * from test2"
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
@@ -576,7 +576,8 @@ SQL
|
||||
|
||||
run dolt sql -q "select * from dolt_status"
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ "" ]]
|
||||
[[ "$output" =~ "| dolt_ignore | false | new table |" ]] || false
|
||||
[ "${#lines[@]}" -eq 6 ]
|
||||
|
||||
run dolt sql -q "select * from test2"
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
Reference in New Issue
Block a user