mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix to testscript.
This commit is contained in:
@@ -35,7 +35,8 @@ class TargetFile:
|
||||
|
||||
def write(self, line):
|
||||
if self.file:
|
||||
self.file.write(line + "\n")
|
||||
self.file.write(bytearray(line, "utf-8"))
|
||||
self.file.write(b"\n")
|
||||
else:
|
||||
self.expected_lines.append(line)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user