github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/test/plan_then_apply/main.tftest.hcl (about) 1 run "validate_test_resource" { 2 3 command = plan 4 5 assert { 6 condition = test_resource.foo.value == "bar" 7 error_message = "invalid value" 8 } 9 } 10 11 run "validate_test_resource" { 12 assert { 13 condition = test_resource.foo.value == "bar" 14 error_message = "invalid value" 15 } 16 }