Skip to content

Commit

Permalink
Returns the exit code (#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie authored and iliabylich committed Apr 22, 2018
1 parent b6b8af4 commit 70bc2fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/opal/javascript_api_spec.rb
Expand Up @@ -39,6 +39,10 @@ def preserve_original_exit_handler
status.should == 0
status = nil

exit 1
status.should == 1
status = nil

exit Object.new
status.should == 0
status = nil
Expand Down

0 comments on commit 70bc2fe

Please sign in to comment.