tweak the fit of the parts

This commit is contained in:
Nick Estes
2026-08-04 12:27:31 -07:00
parent 45a77885f9
commit 69d9b956e6
41 changed files with 5378 additions and 324 deletions
+4 -2
View File
@@ -9,6 +9,7 @@ class ToolchainTest < Minitest::Test
assert_match(/OpenSCAD/, error.message)
assert_match(/Blender/, error.message)
assert_match(/Python 3/, error.message)
assert_match(/apt-get/, error.message)
end
@@ -18,13 +19,14 @@ class ToolchainTest < Minitest::Test
File.write(executable, "#!/bin/sh\nexit 0\n")
FileUtils.chmod(0o755, executable)
toolchain = FeatherCaseWizard::Toolchain.new(
env: {"PATH" => "", "OPENSCAD" => executable, "BLENDER" => executable}
env: {"PATH" => "", "OPENSCAD" => executable, "BLENDER" => executable,
"PYTHON" => executable}
)
assert_equal executable, toolchain.openscad
assert_equal executable, toolchain.blender
assert_equal executable, toolchain.python
assert_same toolchain, toolchain.check!
end
end
end