Bram Moolenaar
56564964e6
patch 9.0.0719: too many delete() calls in tests
...
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
2022-10-10 22:39:42 +01:00
bfredl
af9a6002e0
patch 9.0.0283: cannot complete "syn list @cluster"
...
Problem: Cannot complete "syn list @cluster".
Solution: Recognize and handle "list @". (Björn Linse, closes #10990 )
2022-08-26 21:58:31 +01:00
zeertzjq
180246cfd1
patch 8.2.5152: search() gets stuck with "c" and skip evaluates to true
...
Problem: search() gets stuck with "c" and skip evaluates to true.
Solution: Reset the SEARCH_START option. (closes #10608 )
2022-06-23 12:04:46 +01:00
Bram Moolenaar
620aa8eb5b
patch 8.2.5124: when syntax timeout test fails it does not show the time
...
Problem: When syntax timeout test fails it does not show the time.
Solution: Use assert_inrange().
2022-06-18 16:05:32 +01:00
Paul Ollis
6574577cac
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
...
Problem: Using gettimeofday() for timeout is very inefficient.
Solution: Set a platform dependent timer. (Paul Ollis, closes #10505 )
2022-06-05 16:55:54 +01:00
zeertzjq
ca7e86c237
patch 8.2.4762: using freed memory using synstack() and synID() in WinEnter
...
Problem: Using freed memory when using synstack() and synID() in WinEnter.
Solution: Check using the syntax window. (closes #10204 )
2022-04-16 16:49:24 +01:00
Dominique Pelle
354b23a9f8
patch 8.2.3839: using \z() with \z1 not tested for syntax highlighting
...
Problem: Using \z() with \z1 not tested for syntax highlighting.
Solution: Add a test. (Dominique Pellé, closes #9365 )
2021-12-17 17:32:29 +00:00
Dominique Pelle
923dce2b07
patch 8.2.3637: typos in test files
...
Problem: Typos in test files.
Solution: Correct the typos. (Dominique Pellé, closes #9175 )
2021-11-21 11:36:04 +00:00
Dominique Pelle
6d37e8e3ba
patch 8.2.2837: various code lines not covered by tests
...
Problem: Various code lines not covered by tests.
Solution: Add test cases. (Dominique Pellé, closes #8178 )
2021-05-06 17:36:55 +02:00
Bram Moolenaar
2e240bd428
patch 8.2.2761: using "syn include" does not work properly
...
Problem: Using "syn include" does not work properly.
Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
closes #8104 )
2021-04-14 11:15:08 +02:00
Bram Moolenaar
b46f57e87b
patch 8.2.2068: transparent syntax item uses start/end of containing region
...
Problem: Transparent syntax item uses start/end of containing region.
Solution: Do not change the startpos and endpos of a transparent region to
that of its containing region. (Adrian Ghizaru, closes #7349 ,
closes #7391 )
2020-11-29 14:11:41 +01:00
Bram Moolenaar
9950280d37
patch 8.2.2011: "syn sync" reports a very large number
...
Problem: "syn sync" reports a very large number.
Solution: Use "at the first line".
2020-11-18 16:53:23 +01:00
Bram Moolenaar
531be47ac5
patch 8.2.1736: failure to compile a pattern not tested much
...
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes #7004 )
2020-09-23 22:38:05 +02:00
Bram Moolenaar
d1f76afaf9
patch 8.2.1678: crash when using ":set" after ":ownsyntax"
...
Problem: Crash when using ":set" after ":ownsyntax".
Solution: Make sure 'spelloptions' is not NULL. (closes #6950 )
2020-09-13 22:37:34 +02:00
Bram Moolenaar
e2e4075fad
patch 8.2.1593: tests do not check the error number properly
...
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869 )
2020-09-04 21:18:46 +02:00
Bram Moolenaar
6d91bcb4d2
patch 8.2.1432: various inconsistencies in test files
...
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695 )
2020-08-12 18:50:36 +02:00
Bram Moolenaar
9b7bf9e98f
patch 8.2.1183: assert_fails() checks the last error message
...
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
2020-07-11 22:14:59 +02:00
Bram Moolenaar
adc17a5f9d
patch 8.2.0915: search() cannot skip over matches like searchpair() can
...
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861 )
2020-06-06 18:37:51 +02:00
Bram Moolenaar
494e9069cb
patch 8.2.0866: not enough tests for buffer writing
...
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167 )
2020-05-31 21:28:02 +02:00
Bram Moolenaar
e35a52aee7
patch 8.2.0865: syntax foldlevel is taken from the start of the line
...
Problem: Syntax foldlevel is taken from the start of the line.
Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
the line. (Brad King, closes #6087 )
2020-05-31 19:48:53 +02:00
Bram Moolenaar
08f4157c5c
patch 8.2.0610: some tests are still old style
...
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957 )
2020-04-20 16:50:00 +02:00
Bram Moolenaar
fbf2122cf9
patch 8.2.0606: several syntax HL errors not checked
...
Problem: Several syntax HL errors not checked.
Solution: Add tests. (Yegappan Lakshmanan, closes #5954 )
2020-04-19 18:31:25 +02:00
Bram Moolenaar
476a613135
patch 8.2.0531: various errors not tested
...
Problem: Various errors not tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #5895 )
2020-04-08 19:48:56 +02:00
Bram Moolenaar
0e05de4622
patch 8.2.0448: various functions not properly tested
...
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes #5843 )
2020-03-25 22:23:46 +01:00
Bram Moolenaar
297610ba4b
patch 8.2.0049: command line completion not fully tested
...
Problem: Command line completion not fully tested.
Solution: Add more test cases. Make help sorting stable. (Dominique Pelle,
closes #5402 )
2019-12-27 17:20:55 +01:00
Bram Moolenaar
83e9a1ce75
patch 8.1.2190: syntax test fails on Mac
...
Problem: Syntax test fails on Mac.
Solution: Limit the window size to 20 rows.
2019-10-20 14:51:23 +02:00
Bram Moolenaar
82260afb0e
patch 8.1.2189: syntax highlighting wrong for tab
...
Problem: Syntax highlighting wrong for tab.
Solution: Don't clear syntax attribute n_extra is non-zero.
2019-10-20 13:16:22 +02:00
Bram Moolenaar
bbfd1562ae
patch 8.1.2185: syntax test fails
...
Problem: Syntax test fails.
Solution: Add missing file patch.
2019-10-19 20:38:15 +02:00
Bram Moolenaar
8459006af5
patch 8.1.2176: syntax attributes not combined with Visual highlighting
...
Problem: Syntax attributes not combined with Visual highlighting. (Arseny
Nasokin)
Solution: Combine the attributes. (closes #5083 )
2019-10-18 23:12:20 +02:00
Bram Moolenaar
9115c611db
patch 8.1.2156: first character after Tab is not highlighted
...
Problem: First character after Tab is not highlighted.
Solution: Remember the syntax attribute for a column.
2019-10-16 16:57:06 +02:00
Bram Moolenaar
ea7a08a53e
patch 8.1.1931: syntax test fails
...
Problem: Syntax test fails.
Solution: Add new javascriptreact type to completions.
2019-08-26 22:38:22 +02:00
Bram Moolenaar
8c5a278fc5
patch 8.1.1826: tests use hand coded feature and option checks
...
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
2019-08-07 23:07:07 +02:00
Bram Moolenaar
a74e4946de
patch 8.1.1809: more functions can be used as a method
...
Problem: More functions can be used as a method.
Solution: Add has_key(), split(), str2list(), etc.
2019-08-04 17:35:53 +02:00
Bram Moolenaar
c7f1e40021
patch 8.1.1795: no syntax HL after splitting windows with :bufdo
...
Problem: No syntax HL after splitting windows with :bufdo. (Yasuhiro
Matsumoto)
Solution: Trigger Syntax autocommands in buffers that are active.
(closes #4761 )
2019-08-03 13:29:46 +02:00
Bram Moolenaar
b46fecd345
patch 8.1.1544: some balloon tests don't run when they can
...
Problem: Some balloon tests don't run when they can.
Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
closes #4538 ) Change the feature check into a command for
consistency.
2019-06-15 17:58:09 +02:00
Bram Moolenaar
b0f94c1ff3
patch 8.1.1524: tests are silently skipped
...
Problem: Tests are silently skipped.
Solution: Throw an exception for skipped tests in more places.
2019-06-13 22:19:53 +02:00
Bram Moolenaar
5d30ff1964
patch 8.1.1483: skipped tests are not properly listed
...
Problem: Skipped tests are not properly listed.
Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
2019-06-06 16:12:12 +02:00
Bram Moolenaar
037c54f261
patch 8.1.1193: typos and small problems in test files
...
Problem: Typos and small problems in test files.
Solution: Small improvements.
2019-04-20 23:47:46 +02:00
Bram Moolenaar
b513d3079b
patch 8.1.0559: command line completion not sufficiently tested
...
Problem: Command line completion not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #3622 )
2018-12-02 14:55:08 +01:00
Bram Moolenaar
bcf9442307
patch 8.1.0098: segfault when pattern with \z() is very slow
...
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
2018-06-23 14:21:42 +02:00
Bram Moolenaar
6bb2cdfe60
patch 8.0.1539: no test for the popup menu positioning
...
Problem: No test for the popup menu positioning.
Solution: Add a screendump test for the popup menu.
2018-02-24 19:53:53 +01:00
Bram Moolenaar
6acadda8d6
patch 8.0.1535: C syntax test still fails when using gvim
...
Problem: C syntax test still fails when using gvim.
Solution: Clear Normal cterm highlighting instead of setting it.
2018-02-24 16:51:32 +01:00
Bram Moolenaar
b7ea7cb8e4
patch 8.0.1534: C syntax test fails when using gvim
...
Problem: C syntax test fails when using gvim
Solution: Force running in a terminal. Check that 'background' is correct
even when $COLORFGBG is set.
2018-02-24 14:38:51 +01:00
Bram Moolenaar
3cc9f7440d
patch 8.0.1527: screen dump test fails on MS-Windows
...
Problem: Screen dump test fails on MS-Windows.
Solution: Skip dump test on MS-Windows for now.
2018-02-20 17:09:16 +01:00
Bram Moolenaar
da65058a9c
patch 8.0.1526: no test using a screen dump yet
...
Problem: No test using a screen dump yet.
Solution: Add a test for C syntax highlighting. Add helper functions.
2018-02-20 15:51:40 +01:00
Bram Moolenaar
0b2eef24bc
patch 8.0.0682: no test for synIDtrans()
...
Problem: No test for synIDtrans().
Solution: Add a test. (Dominique Pelle, closes #1796 )
2017-06-27 15:43:49 +02:00
Bram Moolenaar
cc0750dc6e
patch 8.0.0672: third item of synconcealed() changes too often
...
Problem: Third item of synconcealed() changes too often. (Dominique Pelle)
Solution: Reset the sequence number at the start of each line.
2017-06-24 22:29:24 +02:00
Bram Moolenaar
4670490673
patch 8.0.0662: stray FIXME for fixed problem
...
Problem: Stray FIXME for fixed problem.
Solution: Remove the comment. (Dominique Pelle)
2017-06-22 23:03:12 +02:00
Bram Moolenaar
4d785895d1
patch 8.0.0659: no test for conceal mode
...
Problem: No test for conceal mode.
Solution: Add a conceal mode test. (Dominique Pelle, closes #1783 )
2017-06-22 22:00:50 +02:00
Bram Moolenaar
06f1ed2f78
patch 8.0.0647: syntax highlighting can make cause a freeze
...
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
2017-06-18 22:41:03 +02:00