mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
test framework: add support for testing files to fmt command (#33576)
This commit is contained in:
18
internal/command/testdata/tftest-fmt/main_out.tftest.hcl
vendored
Normal file
18
internal/command/testdata/tftest-fmt/main_out.tftest.hcl
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
variables {
|
||||
first = "value"
|
||||
second = "value"
|
||||
}
|
||||
|
||||
run "some_run_block" {
|
||||
command = plan
|
||||
|
||||
plan_options = {
|
||||
refresh = false
|
||||
}
|
||||
|
||||
assert {
|
||||
condition = var.input == 12
|
||||
error_message = "something"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user