Sha256: e2177367c5aaf77b105a9be8a5fd570b7006ff7d0aa21dbf1ef907690c75eb62
Contents?: true
Size: 260 Bytes
Versions: 9
Compression:
Stored size: 260 Bytes
Contents
# frozen_string_literal: true require_relative "helper" require "rubygems" class TestExit < Gem::TestCase def test_exit system(*ruby_with_rubygems_in_load_path, "-e", "raise Gem::SystemExitException.new(2)") assert_equal 2, $?.exitstatus end end
Version data entries
9 entries across 9 versions & 1 rubygems