Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

終了ステータス #9

Open
kou opened this issue Dec 11, 2019 · 0 comments
Open

終了ステータス #9

kou opened this issue Dec 11, 2019 · 0 comments

Comments

@kou
Copy link
Collaborator

kou commented Dec 11, 2019

テストがすべて成功したら終了ステータス0、1つでも失敗したら0以外のなにかで終了するようにしなさい。

成功時:

$ ruby testeee.rb
$ echo $?
0

失敗時:

$ ruby testeee.rb
$ echo $?
0以外のなにか
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant