aboutsummaryrefslogtreecommitdiff
path: root/scripts/legacy2luatest.pl
Commit message (Collapse)AuthorAge
* legacy2luatest: Use before_each instead of setup.Jurica Bradaric2016-02-01
| | | | | | This will avoid confusion if additional `it()` blocks are added. (`setup()` only runs once per `describe()` block, whereas `before_each()` runs before each `it()`).
* scripts/legacy2luatest.pl: remove modeline #2536Justin M. Keyes2015-05-02
| | | | | Several legacy tests have "vim: set ft=vim" modelines which causes the new lua file to be opened with filetype=vim.
* scripts: Fix "test input line" logic in legacy2luatest.pl #2369David Bürgin2015-04-09
| | | | | | | | Fixes the handling of the initial input lines of a test script by simply skipping all initial empty lines. Helped-by: Florian Walch <florian@fwalch.com> Suggested-by: Florian Walch <florian@fwalch.com>
* legacy test script: minor string handling fix #2181Gustaf Lindstedt2015-03-20
| | | | | | | | Add check to see if a string contains ], which can result in cases where wrapping a string in [[...]] breaks. Use [=[...]=] instead on those strings. Use [=[...]=] for insert() and expect().
* Improve legacy2luatest script.Florian Walch2014-12-27
| | | | | | * Remove 'test' prefix from test names. * Ask if existing spec files should be overwritten. * Fix for legacy tests with no initial buffer content (e.g. test_signs).
* Improve legacy2luatest script.Florian Walch2014-11-09
|
* Add legacy test conversion script.Florian Walch2014-11-04