reduce scope of assert_feature_version

This commit is contained in:
Andy Arthur
2021-02-12 16:43:12 -08:00
parent 84b75961df
commit 2d5f2ee7e4
5 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ setup() {
}
teardown() {
rm -rf "$BATS_TMPDIR/dolt-repo-$$"
teardown_common
}
# client FeatureVersion must be >= repo FeatureVersion to read

View File

@@ -52,7 +52,6 @@ setup_common() {
}
teardown_common() {
assert_feature_version
rm -rf "$BATS_TMPDIR/dolt-repo-$$"
}

View File

@@ -48,6 +48,7 @@ SQL
}
teardown() {
assert_feature_version
teardown_common
}

View File

@@ -6,6 +6,7 @@ setup() {
}
teardown() {
assert_feature_version
teardown_common
}

View File

@@ -37,6 +37,7 @@ SQL
}
teardown() {
assert_feature_version
teardown_common
}