mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-30 16:03:37 -04:00
Fix for tofu init failure when test have spaces in their name (#1489)
Signed-off-by: siddharthasonker95 <158144589+siddharthasonker95@users.noreply.github.com> Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
committed by
GitHub
parent
34eac2e2da
commit
de30707b6b
3
internal/command/testdata/test/invalid_run_block_name/main.tf
vendored
Normal file
3
internal/command/testdata/test/invalid_run_block_name/main.tf
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
provider "test" {
|
||||
value = "foo"
|
||||
}
|
||||
5
internal/command/testdata/test/invalid_run_block_name/tests/main.tftest.hcl
vendored
Normal file
5
internal/command/testdata/test/invalid_run_block_name/tests/main.tftest.hcl
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
run "sample run" {
|
||||
module {
|
||||
source = "./.."
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
run "1" {
|
||||
run "a" {
|
||||
assert {
|
||||
condition = test_resource.resource.value == null
|
||||
error_message = "should pass"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
run "2" {
|
||||
run "b" {
|
||||
assert {
|
||||
condition = test_resource.resource.value == null
|
||||
error_message = "should pass"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
run "3" {
|
||||
run "c" {
|
||||
assert {
|
||||
condition = test_resource.resource.value == null
|
||||
error_message = "should pass"
|
||||
|
||||
Reference in New Issue
Block a user