diff --git a/website/docs/language/tests/index.mdx b/website/docs/language/tests/index.mdx index a5a8612c5e..f2c9bfe0da 100644 --- a/website/docs/language/tests/index.mdx +++ b/website/docs/language/tests/index.mdx @@ -174,7 +174,7 @@ For tests defined in a test directory, any variable values defined in automatic ### Variable References -Variables you define within `run` blocks can refer to outputs from modules executed in earlier `run` blocks and variables defined at higher precedence levels. Variables in the root `variables` block can only refer to global variables. +Variables you define within `run` blocks can refer to outputs from modules executed in earlier `run` blocks and variables defined at higher precedence levels. Variables defined within the file level `variables` block can only refer to global variables. For example, the following code block shows how a variable can refer to higher precedence variables and previous run blocks: