mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
more cases
This commit is contained in:
2
internal/command/testdata/test/broken_wrong_block_check/main.tf
vendored
Normal file
2
internal/command/testdata/test/broken_wrong_block_check/main.tf
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
resource "test_resource" "resource" {
|
||||
}
|
||||
8
internal/command/testdata/test/broken_wrong_block_check/main.tftest.hcl
vendored
Normal file
8
internal/command/testdata/test/broken_wrong_block_check/main.tftest.hcl
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
check "expected_to_fail" {
|
||||
assert {
|
||||
condition = test_resource.resource.value != "value"
|
||||
error_message = "something"
|
||||
}
|
||||
}
|
||||
|
||||
run "test" {}
|
||||
Reference in New Issue
Block a user