mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
test framework: expand variables available to test assertions (#33611)
This commit is contained in:
7
internal/command/testdata/test/default_variables/main.tftest.hcl
vendored
Normal file
7
internal/command/testdata/test/default_variables/main.tftest.hcl
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
run "applies_defaults" {
|
||||
assert {
|
||||
condition = var.input == "Hello, world!"
|
||||
error_message = "should have applied default value"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user