We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99afabb commit d063b38Copy full SHA for d063b38
1 file changed
tests/integration.rs
@@ -8,16 +8,16 @@ use std::path::Path;
8
#[test]
9
fn compile_example_project_produces_valid_dxf() {
10
let project_dir = Path::new("examples/vivienda");
11
- let output = project_dir.join("output.dxf");
+ let output = Path::new("/tmp/cadforge_compile_test_output.dxf");
12
13
// Remove previous output if exists
14
- let _ = fs::remove_file(&output);
+ let _ = fs::remove_file(output);
15
16
- compile_project(project_dir, None, None).unwrap();
+ compile_project(project_dir, None, Some(output)).unwrap();
17
18
assert!(output.exists(), "output.dxf should be created");
19
20
- let content = fs::read_to_string(&output).unwrap();
+ let content = fs::read_to_string(output).unwrap();
21
22
// Verify DXF structure
23
assert!(content.contains("SECTION"));
0 commit comments