aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/options_doc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/options_doc.lua b/tests/options_doc.lua
index f559d89..bdbf5df 100644
--- a/tests/options_doc.lua
+++ b/tests/options_doc.lua
@@ -48,6 +48,10 @@ require("conform").setup({
end,
-- Exit codes that indicate success (default {0})
exit_codes = { 0, 1 },
+ -- Environment variables. This can also be a function that returns a table.
+ env = {
+ VAR = "value",
+ },
},
-- These can also be a function that returns the formatter
other_formatter = function()