Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
6932e9e1
Commit
6932e9e1
authored
May 09, 2014
by
yui-knk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ISO No. to String#inspect test.
parent
c071ad13
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
test/t/string.rb
test/t/string.rb
+5
-5
No files found.
test/t/string.rb
View file @
6932e9e1
...
@@ -475,6 +475,11 @@ assert('String#upcase!', '15.2.10.5.43') do
...
@@ -475,6 +475,11 @@ assert('String#upcase!', '15.2.10.5.43') do
assert_equal
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
,
b
assert_equal
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
,
b
end
end
assert
(
'String#inspect'
,
'15.2.10.5.46'
)
do
(
"
\1
"
*
100
).
inspect
# should not raise an exception - regress #1210
assert_equal
"
\"\\
000
\"
"
,
"
\0
"
.
inspect
end
# Not ISO specified
# Not ISO specified
assert
(
'String interpolation (mrb_str_concat for shared strings)'
)
do
assert
(
'String interpolation (mrb_str_concat for shared strings)'
)
do
...
@@ -506,8 +511,3 @@ assert('String#each_byte') do
...
@@ -506,8 +511,3 @@ assert('String#each_byte') do
assert_equal
bytes1
,
bytes2
assert_equal
bytes1
,
bytes2
end
end
assert
(
'String#inspect'
)
do
(
"
\1
"
*
100
).
inspect
# should not raise an exception - regress #1210
assert_equal
"
\"\\
000
\"
"
,
"
\0
"
.
inspect
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment