summaryrefslogtreecommitdiff
path: root/src/testdir/test_writefile.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.0404: writefile() error does not give a hintv8.2.0404Bram Moolenaar2020-03-191-0/+2
| | | | | Problem: Writefile() error does not give a hint. Solution: Add remark about first argument.
* patch 8.2.0270: some code not covered by testsv8.2.0270Bram Moolenaar2020-02-171-3/+1
| | | | | Problem: Some code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
* patch 8.2.0250: test_clear_search_pat() is unusedv8.2.0250Bram Moolenaar2020-02-121-0/+4
| | | | | Problem: test_clear_search_pat() is unused. Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
* patch 8.2.0197: some Ex commands not sufficiently testedv8.2.0197Bram Moolenaar2020-02-021-3/+3
| | | | | Problem: Some Ex commands not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
* patch 8.2.0174: various commands not completely testedv8.2.0174Bram Moolenaar2020-01-291-0/+65
| | | | | Problem: Various commands not completely tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
* patch 8.1.2187: error for bad regexp even though regexp is not usedv8.1.2187Bram Moolenaar2019-10-191-1/+6
| | | | | | Problem: Error for bad regexp even though regexp is not used when writing a file. (Arseny Nasokin) Solution: Ignore regexp errors. (closes #5059)
* patch 8.1.1436: writefile test fails when run under /tmpv8.1.1436Bram Moolenaar2019-05-311-3/+4
| | | | | Problem: Writefile test fails when run under /tmp. Solution: Adjust 'backupskip. (Kenta Sato, closes #4462)
* patch 8.1.1349: if writing runs into conversion error backup file is deletedv8.1.1349Bram Moolenaar2019-05-181-1/+24
| | | | | | | Problem: If writing runs into a conversion error the backup file is deleted. (Arseny Nasokin) Solution: Don't delete the backup file is the file was overwritten and a conversion error occurred. (Christian Brabandt, closes #4387)
* patch 8.1.0846: not easy to recognize the system Vim runs onv8.1.0846Bram Moolenaar2019-01-291-1/+1
| | | | | Problem: Not easy to recognize the system Vim runs on. Solution: Add more items to the features list. (Ozaki Kiichi, closes #3855)
* patch 8.1.0811: too many #ifdefsv8.1.0811Bram Moolenaar2019-01-241-1/+1
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
* patch 8.1.0347: some tests fail on Solarisv8.1.0347Bram Moolenaar2018-09-031-1/+1
| | | | | | Problem: Some tests fail on Solaris. Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish case change. (Libor Bukata, Bjorn Linse, closes #3403)
* patch 8.1.0334: 'autowrite' takes effect when buffer is not to be writtenv8.1.0334Bram Moolenaar2018-08-301-0/+38
| | | | | | Problem: 'autowrite' takes effect when buffer is not to be written. Solution: Don't write buffers that are not supposed to be written. (Even Q Jones, closes #3391) Add tests for 'autowrite'.
* patch 8.0.1744: on some systems /dev/stdout isn't writablev8.0.1744Bram Moolenaar2018-04-211-2/+6
| | | | | Problem: On some systems /dev/stdout isn't writable. Solution: Skip test if writing is not possible. (James McCoy, closes #2830)
* patch 8.0.1339: no test for what 8.0.1335 fixesv8.0.1339Bram Moolenaar2017-11-251-0/+8
| | | | | Problem: No test for what 8.0.1335 fixes. Solution: Add a test. (Yasuhiro Matsumoto, closes #2373)
* patch 8.0.1305: writefile() never calls fsync()v8.0.1305Bram Moolenaar2017-11-161-0/+7
| | | | | Problem: Writefile() never calls fsync(). Solution: Follow the 'fsync' option with override to enable or disable.
* patch 8.0.1190: unusable after opening new window in BufWritePre eventv8.0.1190Bram Moolenaar2017-10-141-0/+44
| | | | | | | Problem: Vim becomes unusable after opening new window in BufWritePre event. Solution: Call not_exiting(). (Martin Tournoij, closes #2205) Also for "2q" when a help window is open. Add a test.
* patch 8.0.0685: when conversion fails written file may be truncatedv8.0.0685Bram Moolenaar2017-06-271-0/+18
| | | | | | | Problem: When making backups is disabled and conversion with iconv fails the written file is truncated. (Luo Chen) Solution: First try converting the file and write the file only when it did not fail. (partly by Christian Brabandt)
* patch 8.0.0642: writefile() continues after detecting an errorv8.0.0642Bram Moolenaar2017-06-131-2/+19
| | | | | | Problem: writefile() continues after detecting an error. Solution: Bail out as soon as an error is detected. (suggestions by Nikolai Pavlov, closes #1476)
* patch 7.4.2305v7.4.2305Bram Moolenaar2016-09-011-0/+16
Problem: Marks, writefile and nested function tests are old style. Solution: Turn them into new style tests. (Yegappan Lakshmanan)