summaryrefslogtreecommitdiff
path: root/spec/ruby/shared
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2021-02-09 13:50:36 -0800
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-20 11:17:47 +0900
commitcfd162d535c7a4f8b1f95255cc6be696a8b75557 (patch)
tree386d466aab972781cc6d1e35abd035bea506b65d /spec/ruby/shared
parentefd19badf43f4f1f24d5aec8a28e94a6e1e47b5b (diff)
Make String#{strip,lstrip}{,!} strip leading NUL bytes
The documentation already specifies that they strip whitespace and defines whitespace to include null. This wraps the new behavior in the appropriate guards in the specs, but does not specify behavior for previous versions, because this is a bug that could be backported. Fixes [Bug #17467]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4164
Diffstat (limited to 'spec/ruby/shared')
0 files changed, 0 insertions, 0 deletions