I noted this in the PR description :) There definitely isn't a test for it. Here's an approach I have used elsewhere that I like more than a raw regex:

```
# A standard backtrace contains many entries for XSpec itself which are
# not useful for debugging your tests, so they are stripped out.
def clean_backtrace(backtrace)
  lib_dir = File.dirname(File.expand_path('..', __FILE__))

  backtrace.reject {|x|
    File.dirname(x).start_with?(lib_dir)
  }
end
```

I could initially refactor it to match `deprecation.rb`, then add this change next? I have a spec for it in xspec, should be able to port that over.