From 565014c99036293513a320a1c5fafd1f73d63337 Mon Sep 17 00:00:00 2001 From: andrew-johnson-4 Date: Tue, 3 Dec 2024 21:37:00 -0700 Subject: [PATCH] ok --- PLATFORM/C/LIB/vector.lsts | 6 +++--- tests/regress/vector-sort.lsts.out | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PLATFORM/C/LIB/vector.lsts b/PLATFORM/C/LIB/vector.lsts index 50cd9f842..5ce9180a3 100644 --- a/PLATFORM/C/LIB/vector.lsts +++ b/PLATFORM/C/LIB/vector.lsts @@ -63,11 +63,11 @@ let .sort(v: Vector): Vector = ( let print(v: Vector): Nil = ( let vi = 0; - print("["); + print(c"["); while vi < v.length { - if vi > 0 then print(","); + if vi > 0 then print(c","); print(v.data[vi]); vi = vi + 1; }; - print("]"); + print(c"]"); ); diff --git a/tests/regress/vector-sort.lsts.out b/tests/regress/vector-sort.lsts.out index e69de29bb..8b84e0bb5 100644 --- a/tests/regress/vector-sort.lsts.out +++ b/tests/regress/vector-sort.lsts.out @@ -0,0 +1 @@ +[1,3,4,8]