mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-15 23:54:19 +00:00
* 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:
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"
|
||||
Reference in New Issue
Block a user