kana / vim-vspec

Vim plugin: Testing framework for Vim script
http://www.vim.org/scripts/script.php?script_id=3012
222 stars 13 forks source link

Allow number at beginning of :it string #32

Closed glts closed 10 years ago

glts commented 10 years ago

I ran into this problem today.

describe 'Increment'
  it '2000 times succeeds'
    let a = Z()
    for i in range(2000)
      let a = a.Increment()
    endfor
    " ...
  end
end
# ...
# Vim(function):E475: Invalid argument: 2000_20times_20succeeds
1..0

I haven't looked into it any further.

kana commented 10 years ago

Thank you for the report. I'll fix it someday.