⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (218 Bytes)
Bug #13444
ยป test.rb
test-case -
dikderoy (Roman Bulgakov)
, 04/17/2017 09:02 PM
unless
`touch test-
#{
RUBY_VERSION
}
`
raise
'Error'
end
begin
puts
$?
.
success?
rescue
StandardError
=>
e
puts
"rescued:
#{
e
.
message
}
"
end
s
=
`ls -l test-
#{
RUBY_VERSION
}
`
puts
s
.
lines
.
length
==
1
?
'OK'
:
'NOK'
(1-1/1)
Loading...