File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ impl crate::cmd::Command for CmdKclExport {
134
134
for file in files {
135
135
let path = self . output_dir . join ( file. name ) ;
136
136
std:: fs:: write ( & path, file. contents ) ?;
137
- println ! ( "Wrote file: {}" , path. display( ) ) ;
137
+ writeln ! ( ctx . io . out , "Wrote file: {}" , path. display( ) ) ? ;
138
138
}
139
139
140
140
if self . show_trace {
Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ async fn test_main(ctx: &mut MainContext) {
601
601
"tests/gear.kcl" . to_string( ) ,
602
602
"tests/" . to_string( ) ,
603
603
] ,
604
- want_out: r#""# . to_string( ) ,
604
+ want_out: r#"Wrote file: tests/output.gltf "# . to_string( ) ,
605
605
want_err: "" . to_string( ) ,
606
606
want_code: 0 ,
607
607
..Default :: default ( )
@@ -617,7 +617,7 @@ async fn test_main(ctx: &mut MainContext) {
617
617
"tests/gear.kcl" . to_string( ) ,
618
618
"tests/" . to_string( ) ,
619
619
] ,
620
- want_out: r#""# . to_string( ) ,
620
+ want_out: r#"Wrote file: tests/output.step "# . to_string( ) ,
621
621
want_err: "" . to_string( ) ,
622
622
want_code: 0 ,
623
623
..Default :: default ( )
@@ -645,7 +645,7 @@ async fn test_main(ctx: &mut MainContext) {
645
645
"fmt" . to_string( ) ,
646
646
"tests/gear.kcl" . to_string( ) ,
647
647
] ,
648
- want_out: r#"startSketchOn(body, ' END' )"# . to_string( ) ,
648
+ want_out: r#"startSketchOn(body, face = END)"# . to_string( ) ,
649
649
want_err: "" . to_string( ) ,
650
650
want_code: 0 ,
651
651
..Default :: default ( )
You can’t perform that action at this time.
0 commit comments