mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-09 10:38:10 -06:00
Added skipped bats test for error in #751
This commit is contained in:
@@ -10,7 +10,6 @@ teardown() {
|
||||
teardown_common
|
||||
}
|
||||
|
||||
|
||||
@test "status: dolt version --feature" {
|
||||
# bump this test with feature version bumps
|
||||
run dolt version --feature
|
||||
@@ -289,6 +288,21 @@ SQL
|
||||
[[ "$output" =~ "1" ]] || false
|
||||
}
|
||||
|
||||
@test "status: dolt reset with a renamed table" {
|
||||
dolt sql <<SQL
|
||||
CREATE TABLE one (
|
||||
pk BIGINT PRIMARY KEY,
|
||||
v1 BIGINT,
|
||||
v2 BIGINT
|
||||
);
|
||||
SQL
|
||||
dolt commit -am "added table"
|
||||
dolt sql -q "rename table one to one_super"
|
||||
|
||||
skip "fails with error error: Failed to reset changes. cause: error: failed to write table back to database"
|
||||
dolt reset --hard
|
||||
}
|
||||
|
||||
@test "status: dolt reset works with commit hash ref" {
|
||||
dolt sql -q "CREATE TABLE tb1 (pk int PRIMARY KEY);"
|
||||
dolt sql -q "INSERT INTO tb1 values (1);"
|
||||
|
||||
Reference in New Issue
Block a user