vowsjs / kyuri

A node.js cucumber implementation with a few extra asynchronous keywords. supports 160+ languages and exports to VowsJS stubs
http://prenup.nodejitsu.com
198 stars 19 forks source link

Kyuri does not handle space indents, #25

Open capnregex opened 12 years ago

capnregex commented 12 years ago

The lexer for Kyuri does not handle space indentation, it only handles tabs for the indentation levels.

Because tabs are visually indistinguishable from spaces while in an editor, this can become a barrier to entry to using Kyuri.

Ideally, it would be able to handle whatever indentation was used, in a graceful manner.

capnregex commented 12 years ago

I have a patch for this at https://github.com/capnregex/kyuri/commit/26cb2d189ac6e7415f008dc3175e8707c1e57c0d

I'll make a pull request as soon as my other pull request is handled.