Skip to content

When filtering, do not consider declaration lines from other files.

gitlab-qa-bot requested to merge issue-2136 into master

Created by: myronmarston

Before this, our logic for line number filtering asked RSpec.world for the preceding declaration line of a particular line number, without passing it a file name, which meant that it looked at the declaration line numbers from all files. This was prone to producing weird filtering behavior.

Fixes #2136 (closed).

Merge request reports