* fixes #17173 * add testcase (#17214) * Apply suggestions from code review * fix for newruntime * Apply suggestions from code review * Update lib/system.nim * Update lib/system.nim * Update lib/system.nim Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
This commit is contained in:
parent
c625ce80cb
commit
bb0c19f42c
5 changed files with 33 additions and 2 deletions
10
tests/arc/t17173.nim
Normal file
10
tests/arc/t17173.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
matrix: "--gc:refc; --gc:arc; --newruntime"
|
||||
"""
|
||||
|
||||
import std/strbasics
|
||||
|
||||
|
||||
var a = " vhellov "
|
||||
strip(a)
|
||||
doAssert a == "vhellov"
|
||||
Loading…
Add table
Add a link
Reference in a new issue