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

     1  run "validate_test_resource" {
     2    variables {
     3      input = "bar"
     4    }
     5  
     6    assert {
     7      condition = test_resource.foo.value == "bar"
     8      error_message = "invalid value"
     9    }
    10  }