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
83986e26
Commit
83986e26
authored
May 25, 2014
by
yui-knk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace assert_true with assert_equal.
parent
229e7fe2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/t/enumerable.rb
test/t/enumerable.rb
+2
-2
No files found.
test/t/enumerable.rb
View file @
83986e26
...
...
@@ -44,7 +44,7 @@ assert('Enumerable#collect', '15.3.2.2.3') do
end
assert
(
'Enumerable#detect'
,
'15.3.2.2.4'
)
do
assert_
true
[
1
,
2
,
3
].
detect
()
{
true
}
assert_
equal
1
,
[
1
,
2
,
3
].
detect
()
{
true
}
assert_equal
'a'
,
[
1
,
2
,
3
].
detect
(
"a"
)
{
false
}
end
...
...
@@ -63,7 +63,7 @@ assert('Enumerable#entries', '15.3.2.2.6') do
end
assert
(
'Enumerable#find'
,
'15.3.2.2.7'
)
do
assert_
true
[
1
,
2
,
3
].
find
()
{
true
}
assert_
equal
1
,
[
1
,
2
,
3
].
find
()
{
true
}
assert_equal
'a'
,
[
1
,
2
,
3
].
find
(
"a"
)
{
false
}
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