diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-03-04 18:26:54 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-03-04 18:26:54 +0100 |
| commit | b97c6d29b6a1c66c2596033cd255d6803939aba0 (patch) | |
| tree | 4d0f68ad1f76e7e94214a18281d3419d5ffff591 /lua/basic_file.lua | |
| parent | 54dd1d2bf9a6cbfbd754e1e53fdda55f3acbbc15 (diff) | |
| download | vis-b97c6d29b6a1c66c2596033cd255d6803939aba0.tar.gz vis-b97c6d29b6a1c66c2596033cd255d6803939aba0.tar.xz | |
test/lua: convert tests to busted infrastructure
Diffstat (limited to 'lua/basic_file.lua')
| -rw-r--r-- | lua/basic_file.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lua/basic_file.lua b/lua/basic_file.lua deleted file mode 100644 index a40446c..0000000 --- a/lua/basic_file.lua +++ /dev/null @@ -1,15 +0,0 @@ -local win = vis.win -local results = {} -results[1] = win.file.name == 'basic_file.in' -results[2] = #win.file.lines == 9 -results[3] = win.file.newlines == 'lf' -results[4] = win.file.size == 63 -results[5] = win.file.lines[0] == '1: abc' -results[6] = win.file.lines[6] == '6: pqr' -results[7] = win.file.syntax or 'true' - -delete(win, '%') -for i = 1, #results do - append(win, i-1, tostring(results[i])) -end -vis:command('w! basic_file.out') |
