Skip to content

Commit

Permalink
compiler: minor improvements for tests code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Jun 19, 2024
1 parent b0faf30 commit 7f2a67f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/julec/obj/cxx/test.jule
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ impl TestCoder {
self.callTmReset()
self.oc.write(";\n")
self.oc.indent()
self.oc.write("std::cout << \">>> TEST RUNNING: \";\n")
self.oc.indent()
self.oc.write("jule::outln(")
self.oc.write("std::cout << \">>> TEST RUNNING: \" ")
self.oc.write(cstrLit([]byte(f.Decl.Ident)))
self.oc.write(");\n")
self.oc.write(" << std::endl;\n")
self.oc.indent()
self.oc.write(identCoder.funcIns(f))
self.oc.write("(_t);\n")
Expand Down

0 comments on commit 7f2a67f

Please sign in to comment.