aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-03-06 17:53:57 +0100
committerGitHub <noreply@github.com>2023-03-06 17:53:57 +0100
commit3ee3174e30e33c9d58fa07b0a73a6e180474b59c (patch)
treef290ba91c363b79ecf21d443a4372fff4cc3e320 /tests/helpers
parentchore: autogenerate (#1072) (diff)
downloadmason-3ee3174e30e33c9d58fa07b0a73a6e180474b59c.tar
mason-3ee3174e30e33c9d58fa07b0a73a6e180474b59c.tar.gz
mason-3ee3174e30e33c9d58fa07b0a73a6e180474b59c.tar.bz2
mason-3ee3174e30e33c9d58fa07b0a73a6e180474b59c.tar.lz
mason-3ee3174e30e33c9d58fa07b0a73a6e180474b59c.tar.xz
mason-3ee3174e30e33c9d58fa07b0a73a6e180474b59c.tar.zst
mason-3ee3174e30e33c9d58fa07b0a73a6e180474b59c.zip
fix: fix writing pyvenv module wrapper (#1073)
Closes #1071.
Diffstat (limited to 'tests/helpers')
-rw-r--r--tests/helpers/lua/test_helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/lua/test_helpers.lua b/tests/helpers/lua/test_helpers.lua
index 08a0e91b..f11765d5 100644
--- a/tests/helpers/lua/test_helpers.lua
+++ b/tests/helpers/lua/test_helpers.lua
@@ -43,7 +43,7 @@ end
---@param opts PackageInstallOpts?
function InstallContextGenerator(handle, opts)
local context = InstallContext.new(handle, opts or {})
- context.spawn = setmetatable({ strict_mode = false }, {
+ context.spawn = setmetatable({ strict_mode = true }, {
__index = function(self, cmd)
self[cmd] = spy.new(mockx.just_runs())
return self[cmd]