github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/test/partial_update_failure/main.tftest.hcl (about)

     1  run "partial" {
     2    plan_options {
     3      target = [test_resource.foo]
     4    }
     5  
     6    assert {
     7      condition = test_resource.bar.value == "bar"
     8      error_message = "should fail"
     9    }
    10  }