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
fa4ae7dd
Commit
fa4ae7dd
authored
Dec 09, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify test case to check #1606
parent
b87473c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test/t/module.rb
test/t/module.rb
+4
-4
No files found.
test/t/module.rb
View file @
fa4ae7dd
...
@@ -276,16 +276,16 @@ end
...
@@ -276,16 +276,16 @@ end
assert
(
'Module.constants'
,
'15.2.2.4.24'
)
do
assert
(
'Module.constants'
,
'15.2.2.4.24'
)
do
$n
=
[]
$n
=
[]
module
TestA
module
TestA
C
onst
=
1
C
=
1
end
end
class
TestB
class
TestB
include
TestA
include
TestA
C
onst
2
=
1
C2
=
1
$n
=
constants
.
sort
$n
=
constants
.
sort
end
end
assert_equal
[
:C
onst
],
TestA
.
constants
assert_equal
[
:C
],
TestA
.
constants
assert_equal
[
:C
onst
,
:Const
2
],
$n
assert_equal
[
:C
,
:C
2
],
$n
end
end
assert
(
'Module#include'
,
'15.2.2.4.27'
)
do
assert
(
'Module#include'
,
'15.2.2.4.27'
)
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