From ea098e6c9c0bcea7a7978385dc447c1fb608166d Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Tue, 30 Sep 2025 21:07:40 -0400 Subject: [PATCH] fix(test): params ought not to be validated --- spec/execute_spec.lua | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/spec/execute_spec.lua b/spec/execute_spec.lua index 38784be..81025ef 100644 --- a/spec/execute_spec.lua +++ b/spec/execute_spec.lua @@ -235,28 +235,6 @@ describe('cp.execute', function() end) end) - describe('parameter validation', function() - it('validates language_config parameter', function() - assert.has_error(function() - execute.compile_generic(nil, {}) - end) - - assert.has_error(function() - execute.compile_generic('not_table', {}) - end) - end) - - it('validates substitutions parameter', function() - assert.has_error(function() - execute.compile_generic({}, nil) - end) - - assert.has_error(function() - execute.compile_generic({}, 'not_table') - end) - end) - end) - describe('directory creation', function() it('creates build and io directories', function() local language_config = {