diff --git a/.gitignore b/.gitignore index b159f65d..aef9fba2 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,8 @@ yq*.snap test.yml test*.yml +test*.xml +test*.toml test*.yaml 0.yml 1.yml diff --git a/acceptance_tests/inputs-format-auto.sh b/acceptance_tests/inputs-format-auto.sh index a5e6897c..3c241d65 100755 --- a/acceptance_tests/inputs-format-auto.sh +++ b/acceptance_tests/inputs-format-auto.sh @@ -2,6 +2,7 @@ setUp() { rm test*.yml 2>/dev/null || true + rm test*.toml 2>/dev/null || true rm test*.tfstate 2>/dev/null || true rm test*.json 2>/dev/null || true rm test*.properties 2>/dev/null || true @@ -30,6 +31,26 @@ EOM assertEquals "$expected" "$X" } +testInputToml() { + cat >test.toml <test.tfstate <