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

     1  variables {
     2    value = "Hello, world!"
     3  }
     4  
     5  run "load_module" {
     6    module {
     7      source = "./setup"
     8    }
     9  
    10    assert {
    11      condition     = output.value == "Hello, world!"
    12      error_message = "invalid value"
    13    }
    14  }