minitest/test/minitest
Ryan Davis 96ba1dac61 + Block-assertions (eg assert_output) now error if raised inside the block. (casperisfine)
This will potentially cause some of your tests to fail:

```ruby
  assert_raises do            # 4) bypassed
    assert_output "blah\n" do # 3) rescues and raises UnexpectedError
      puts "not_blah"         # 1) output
      raise "boom!"           # 2) raised
    end
  end
```

Re-order to:

```ruby
  assert_output "blah\n" do       # 4) captured and compared
    assert_raises RuntimeError do # 3) caught
      puts "blah"                 # 1) output
      raise "boom!"               # 2) raised
    end
  end
```

Closes #809.

[git-p4: depot-paths = "//src/minitest/dev/": change = 12414]
2019-11-23 16:22:17 -08:00
..
metametameta.rb Reworked some of metametameta to be more flexible. 2019-10-20 02:11:43 -08:00
test_minitest_assertions.rb + Block-assertions (eg assert_output) now error if raised inside the block. (casperisfine) 2019-11-23 16:22:17 -08:00
test_minitest_benchmark.rb For "fun", I defined a rubocop config that best represents "Seattle Style". 14 issues later (https://github.com/bbatsov/rubocop/issues/created_by/zenspider) I wound up with the following: 2015-01-26 20:30:19 -08:00
test_minitest_mock.rb + Deprecated Minitest::Guard#maglev? 2019-10-20 03:15:52 -08:00
test_minitest_reporter.rb Failing tests for missing error? method 2018-01-26 02:32:13 -08:00
test_minitest_spec.rb + Deprecated Minitest::Guard#maglev? 2019-10-20 03:15:52 -08:00
test_minitest_test.rb + Deprecated Minitest::Guard#maglev? 2019-10-20 03:15:52 -08:00