aboutsummaryrefslogtreecommitdiff
path: root/examples/commands/commands.tm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/commands/commands.tm')
-rw-r--r--examples/commands/commands.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/commands/commands.tm b/examples/commands/commands.tm
index ace7deb5..d72398b9 100644
--- a/examples/commands/commands.tm
+++ b/examples/commands/commands.tm
@@ -28,7 +28,7 @@ struct ProgramResult(stdout:[Byte], stderr:[Byte], exit_type:ExitType)
if status == 0
if text := Text.from_bytes(r.stdout)
if trim_newline
- text = text.without_suffix(\n)
+ text = text.without_suffix("\n")
return text
else return none
return none