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
77942f70
Commit
77942f70
authored
May 25, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2316 from ksss/test-exception
Exception#exception fix test
parents
7c300971
bc0cf69a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
test/t/exception.rb
test/t/exception.rb
+8
-5
No files found.
test/t/exception.rb
View file @
77942f70
...
...
@@ -16,11 +16,14 @@ assert('Exception.exception', '15.2.22.4.1') do
end
assert
(
'Exception#exception'
,
'15.2.22.5.1'
)
do
e1
=
Exception
.
exception
()
e2
=
Exception
.
exception
(
'b'
)
assert_equal
Exception
,
e1
.
class
assert_equal
Exception
,
e2
.
class
e
=
Exception
.
new
re
=
RuntimeError
.
new
assert_equal
e
,
e
.
exception
assert_equal
e
,
e
.
exception
(
e
)
assert_equal
re
,
re
.
exception
(
re
)
changed_re
=
re
.
exception
(
'message has changed'
)
assert_not_equal
re
,
changed_re
assert_equal
'message has changed'
,
changed_re
.
message
end
assert
(
'Exception#message'
,
'15.2.22.5.2'
)
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