diff options
Diffstat (limited to 'test/-ext-/bug_reporter/test_bug_reporter.rb')
-rw-r--r-- | test/-ext-/bug_reporter/test_bug_reporter.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb index 319f3ffe9a..01f8fdc933 100644 --- a/test/-ext-/bug_reporter/test_bug_reporter.rb +++ b/test/-ext-/bug_reporter/test_bug_reporter.rb @@ -1,9 +1,9 @@ -require 'test/unit'
-require_relative "../../ruby/envutil"
-
-class TestBugReporter < Test::Unit::TestCase
- def test_bug_reporter_add
- expected_stderr = /Sample bug reporter: 12345/
- assert_in_out_err(["--disable-gems", "-r-test-/bug_reporter/bug_reporter", "-e", "register_sample_bug_reporter(12345); Process.kill :SEGV, $$"], "", [], expected_stderr, nil)
- end
-end
+require 'test/unit' +require_relative "../../ruby/envutil" + +class TestBugReporter < Test::Unit::TestCase + def test_bug_reporter_add + expected_stderr = /Sample bug reporter: 12345/ + assert_in_out_err(["--disable-gems", "-r-test-/bug_reporter/bug_reporter", "-e", "register_sample_bug_reporter(12345); Process.kill :SEGV, $$"], "", [], expected_stderr, nil) + end +end |