moxley / atom-ruby-test

Run Ruby tests, Rspec examples, and Cucumber features from Atom
MIT License
43 stars 36 forks source link

Use cursor buffer row instead of screen row #18

Closed dsandstrom closed 10 years ago

dsandstrom commented 10 years ago

Fixes #17

josler commented 10 years ago

:+1:

moxley commented 10 years ago

Thanks for this PR. I'm not sure how to reproduce the problem, but the solution seems to make sense. The change works OK for me. I'll go ahead and merge it.

dsandstrom commented 10 years ago

Thanks.

Reproduce:

  1. Make two tests
  2. Make the second failing
  3. Collapse code above second test
  4. Run second test, it passes.

You can look at the numbers that are getting ran, they are not the lines that your cursor is on.