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
2ca825a2
Commit
2ca825a2
authored
Dec 17, 2015
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3051 from zzak/ambiguous-first-argument
Fix "ambiguous first argument" warning
parents
0720aac2
3f228c1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/t/integer.rb
test/t/integer.rb
+1
-1
No files found.
test/t/integer.rb
View file @
2ca825a2
...
@@ -152,7 +152,7 @@ assert('Integer#<<', '15.2.8.3.12') do
...
@@ -152,7 +152,7 @@ assert('Integer#<<', '15.2.8.3.12') do
assert_equal
2147483648
,
1
<<
31
assert_equal
2147483648
,
1
<<
31
# -3 Left Shift by 30 is bitShift overflow to SignedInt
# -3 Left Shift by 30 is bitShift overflow to SignedInt
assert_equal
-
3221225472
,
-
3
<<
30
assert_equal
(
-
3221225472
,
-
3
<<
30
)
end
end
assert
(
'Integer#>>'
,
'15.2.8.3.13'
)
do
assert
(
'Integer#>>'
,
'15.2.8.3.13'
)
do
...
...
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