1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-08 20:42:28 +00:00

Add test case for string/format %s of buffer

This commit is contained in:
Calvin Rose
2025-09-01 14:24:51 -05:00
parent 148e108864
commit ab3e843433

View File

@@ -136,5 +136,8 @@
"keyword slice")
(assert (= 'symbol (symbol/slice "some_symbol_slice" 5 11)) "symbol slice")
# Check string formatting, #1600
(assert (= "" (string/format "%.99s" @"")) "string/format %s buffer")
(end-suite)