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
ffb700de
Commit
ffb700de
authored
Jun 09, 2019
by
KOBAYASHI Shuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing assertions in `test/t/syntax.rb`
parent
a7ae278d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test/t/syntax.rb
test/t/syntax.rb
+3
-2
No files found.
test/t/syntax.rb
View file @
ffb700de
...
@@ -423,10 +423,11 @@ assert('parenthesed do-block in cmdarg') do
...
@@ -423,10 +423,11 @@ assert('parenthesed do-block in cmdarg') do
end
end
assert
(
'method definition in cmdarg'
)
do
assert
(
'method definition in cmdarg'
)
do
if
false
result
=
class
MethodDefinitionInCmdarg
def
self
.
bar
(
arg
);
arg
end
bar
def
foo
;
self
.
each
do
end
end
bar
def
foo
;
self
.
each
do
end
end
end
end
true
assert_equal
(
:foo
,
result
)
end
end
assert
(
'optional argument in the rhs default expressions'
)
do
assert
(
'optional argument in the rhs default expressions'
)
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