drewdeponte / snapdragon

A Jasmine JavaScript test runner that lets you run tests on the command-line similar to RSpec.
Other
6 stars 8 forks source link

require_relative without trailing newline is not detected #20

Closed jwreachlocal closed 11 years ago

jwreachlocal commented 11 years ago

If newline does not exist, then it fails.

drewdeponte commented 11 years ago

I wasn't able to reproduce this in the example. I was using Vim to test. Maybe it is a difference in editors. I believe the bug was reported by a user of Sublime Text 2.

drewdeponte commented 11 years ago

With some hexdump -C I have verified that my Vim editor always puts a newline at the end of and that Sublime Text 2 does not.

I have also reproduced the issue using Sublime Text 2.