Spacing changes

This commit is contained in:
Zach Musgrave
2022-06-17 15:52:00 -07:00
parent 5073e0cca9
commit 769c5a6de8
+4
View File
@@ -458,19 +458,23 @@ SQL
run dolt diff --cached
[ $status -eq 0 ]
[ "$output" = "" ]
dolt add test
run dolt diff --cached
[ $status -eq 0 ]
[[ $output =~ "added table" ]] || false
dolt commit -m "First commit"
dolt sql -q "insert into test values (0, 0, 0, 0, 0, 0)"
run dolt diff
[ $status -eq 0 ]
CORRECT_DIFF=$output
dolt add test
run dolt diff --cached
[ $status -eq 0 ]
[ "$output" = "$CORRECT_DIFF" ]
# Make sure it ignores changes to the working set that aren't staged
dolt sql -q "create table test2 (pk int, c1 int, primary key(pk))"
run dolt diff --cached