Skip to content

Commit

Permalink
Drop test for exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 15, 2024
1 parent 82edeed commit 7772c7a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/primitives/external_command_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ describe Crystal::Command do
puts Process.find_executable("crystal")
puts PROGRAM_NAME
puts ARGV
exit 123
CRYSTAL

Process.run(compiler_path, ["build", source_file, "-o", command_path])
Expand All @@ -29,8 +27,7 @@ describe Crystal::Command do
lines = process.output.gets_to_end.lines

status = process.wait
status.normal_exit?.should be_true
status.exit_code.should eq 123
status.success?.should be_true

lines.should eq [
compiler_path,
Expand Down

0 comments on commit 7772c7a

Please sign in to comment.