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
e8dd8180
Commit
e8dd8180
authored
Jan 01, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return value from #object_id may not be Fixnum; ref #1630
parent
047f318c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
test/t/kernel.rb
test/t/kernel.rb
+1
-9
No files found.
test/t/kernel.rb
View file @
e8dd8180
...
@@ -388,15 +388,7 @@ assert('Kernel#object_id', '15.3.1.3.33') do
...
@@ -388,15 +388,7 @@ assert('Kernel#object_id', '15.3.1.3.33') do
a
=
""
a
=
""
b
=
""
b
=
""
assert_not_equal
a
.
object_id
,
b
.
object_id
assert_not_equal
a
.
object_id
,
b
.
object_id
assert_not_equal
1
.
object_id
,
1.2
.
object_id
assert_kind_of
Fixnum
,
object_id
assert_kind_of
Fixnum
,
""
.
object_id
assert_kind_of
Fixnum
,
true
.
object_id
assert_kind_of
Fixnum
,
false
.
object_id
assert_kind_of
Fixnum
,
nil
.
object_id
assert_kind_of
Fixnum
,
:
no
.
object_id
assert_kind_of
Fixnum
,
1
.
object_id
assert_kind_of
Fixnum
,
1.0
.
object_id
end
end
# Kernel#p is defined in mruby-print mrbgem. '15.3.1.3.34'
# Kernel#p is defined in mruby-print mrbgem. '15.3.1.3.34'
...
...
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