about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-15 17:21:38 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-15 17:21:38 +0100
commit040c960a2788bef9910eee0a3c98cef7890f9d23 (patch)
tree34aff3359befc7cba4c77056f8d38fb5286f3f92 /test
parent6f7965d978081194b464faa8441db607998a1679 (diff)
downloadchawan-040c960a2788bef9910eee0a3c98cef7890f9d23.tar.gz
twtstr: beforeLast -> untilLast
for consistency
Diffstat (limited to 'test')
-rw-r--r--test/net/run.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/run.nim b/test/net/run.nim
index d27bbef3..a88c9501 100644
--- a/test/net/run.nim
+++ b/test/net/run.nim
@@ -33,7 +33,7 @@ proc main() {.async.} =
   let port = server.getPort()
   case fork()
   of 0:
-    let cmd = getAppFileName().beforeLast('/') & "/run.sh " & $uint16(port)
+    let cmd = getAppFileName().untilLast('/') & "/run.sh " & $uint16(port)
     discard execl("/bin/sh", "sh", "-c", cstring(cmd), nil)
     quit(1)
   of -1: