cli: Make state commands check required version (#30511)

This commit is contained in:
gabriel376
2022-03-31 14:42:42 -03:00
committed by GitHub
parent 6ce6955a4f
commit f5a8608989
16 changed files with 403 additions and 28 deletions

View File

@@ -494,7 +494,7 @@ func TestTaint_module(t *testing.T) {
func TestTaint_checkRequiredVersion(t *testing.T) {
// Create a temporary working directory that is empty
td := tempDir(t)
testCopyDir(t, testFixturePath("taint-check-required-version"), td)
testCopyDir(t, testFixturePath("command-check-required-version"), td)
defer os.RemoveAll(td)
defer testChdir(t, td)()