rspec/rspec-core — pull request #1327 by yujinakayama (2014-02-17 12:02:30+00:00)
Title: Remove superfluous bars in deprecation warning

Currently the deprecation warning for `RSpec::Core::ExampleGroup#pending` includes superfluous bars:

```
|The semantics of `RSpec::Core::ExampleGroup#pending` are changing in RSpec 3.
|In RSpec 2.x, it caused the example to be skipped. In RSpec 3, the example will
|still be run but is expected to fail, and will be marked as a failure (rather
|than as pending) if the example passes, just like how `pending` with a block
|from within an example already works.
|
|To keep the same skip semantics, change `pending` to `skip`. Otherwise, if you
|want the new RSpec 3 behavior, you can safely ignore this warning and continue
|to upgrade to RSpec 3 without addressing it.
|
|Called from /Users/me/some-project/spec/models/admin_user_spec.rb:4:in `block in '.
|
```

The `RSpec.warn_deprecation` is already in a here document, so the regexp needs double escape.