Mercurial > vim
comparison src/testdir/test_viminfo.vim @ 31849:dbec60b8c253 v9.0.1257
patch 9.0.1257: code style is not check in test scripts
Commit: https://github.com/vim/vim/commit/94722c510745a0cfd494c51625a514b92dd2bfb2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 28 19:19:03 2023 +0000
patch 9.0.1257: code style is not check in test scripts
Problem: Code style is not check in test scripts.
Solution: Add basic code style check for test files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Jan 2023 20:30:04 +0100 |
parents | 0913cd44fdfa |
children | 38e797adc24d |
comparison
equal
deleted
inserted
replaced
31848:b83cac410fcf | 31849:dbec60b8c253 |
---|---|
299 call test_settime(27) | 299 call test_settime(27) |
300 call histadd(':', "echo '27'") | 300 call histadd(':', "echo '27'") |
301 call test_settime(39) | 301 call test_settime(39) |
302 call histadd(':', "echo '39'") | 302 call histadd(':', "echo '39'") |
303 wviminfo Xviminfo | 303 wviminfo Xviminfo |
304 | 304 |
305 call histdel(':') | 305 call histdel(':') |
306 rviminfo Xviminfo | 306 rviminfo Xviminfo |
307 call assert_equal("echo '39'", histget(':', -1)) | 307 call assert_equal("echo '39'", histget(':', -1)) |
308 call assert_equal("echo '33'", histget(':', -2)) | 308 call assert_equal("echo '33'", histget(':', -2)) |
309 call assert_equal("echo '27'", histget(':', -3)) | 309 call assert_equal("echo '27'", histget(':', -3)) |
558 set fencs=utf-8,latin1 | 558 set fencs=utf-8,latin1 |
559 set enc=utf-8 | 559 set enc=utf-8 |
560 sp Xviminfo | 560 sp Xviminfo |
561 call assert_equal('latin1', &fenc) | 561 call assert_equal('latin1', &fenc) |
562 close | 562 close |
563 | 563 |
564 call histdel(':') | 564 call histdel(':') |
565 rviminfo Xviminfo | 565 rviminfo Xviminfo |
566 call assert_equal("echo 'é'", histget(':', -1)) | 566 call assert_equal("echo 'é'", histget(':', -1)) |
567 | 567 |
568 call delete('Xviminfo') | 568 call delete('Xviminfo') |