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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user