summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_let.vim
AgeCommit message (Collapse)Author
2023-06-14patch 9.0.1631: passing wrong variable type to option gives multiple errorsv9.0.1631zeertzjq
Problem: Passing a wrong variable type to an option gives multiple errors. Solution: Bail out early on failure. (closes #12504)
2023-05-02patch 9.0.1505: error when heredoc content looks like heredocv9.0.1505zeertzjq
Problem: Error when heredoc content looks like heredoc. Solution: Handle curly expressions. (closes #12325)
2022-11-05patch 9.0.0836: wrong error when using extend() with funcrefv9.0.0836zeertzjq
Problem: Wrong error when using extend() with funcref. Solution: Better check the variable type. (closes #11468, closes #11455)
2022-09-29patch 9.0.0625: too many delete() calls in testsv9.0.0625Bram Moolenaar
Problem: Too many delete() calls in tests. Solution: Use deferred delete where possible.
2022-09-02patch 9.0.0355: check for uppercase char in autoload name is wrongv9.0.0355thinca
Problem: Check for uppercase char in autoload name is wrong, it checks the name of the script. Solution: Remove the check. (closes #11031)
2022-05-10patch 8.2.4930: interpolated string expression requires escapingv8.2.4930Bram Moolenaar
Problem: Interpolated string expression requires escaping. Solution: Do not require escaping in the expression.
2022-05-06patch 8.2.4883: string interpolation only works in heredocv8.2.4883LemonBoy
Problem: String interpolation only works in heredoc. Solution: Support interpolated strings. Use syntax for heredoc consistent with strings, similar to C#. (closes #10327)
2022-04-28patch 8.2.4840: heredoc expression evaluated even when skippingv8.2.4840Bram Moolenaar
Problem: Heredoc expression evaluated even when skipping. Solution: Don't evaluate when "skip" is set. (closes #10306)
2022-04-17patch 8.2.4770: cannot easily mix expression and heredocv8.2.4770Yegappan Lakshmanan
Problem: Cannot easily mix expression and heredoc. Solution: Support in heredoc. (Yegappan Lakshmanan, closes #10138)
2021-08-14patch 8.2.3342: test for :let errors failsv8.2.3342Bram Moolenaar
Problem: Test for :let errors fails. Solution: Adjust the test and how to avoid a second error message.
2021-06-26patch 8.2.3055: strange error for assigning to "x.key" on non-dictionaryv8.2.3055Bram Moolenaar
Problem: Strange error for assigning to "x.key" on non-dictionary. Solution: Add a specific error message. (closes #8451)
2021-06-17patch 8.2.3016: confusing error when expression is followed by commav8.2.3016Bram Moolenaar
Problem: Confusing error when expression is followed by comma. Solution: Give a different error for trailing text. (closes #8395)
2021-04-05patch 8.2.2723: assignment test failsv8.2.2723Bram Moolenaar
Problem: Assignment test fails. Solution: Adjust error number.
2020-12-13patch 8.2.2138: Vim9: "exit_cb" causes Vim to exitv8.2.2138Bram Moolenaar
Problem: Vim9: "exit_cb" causes Vim to exit. Solution: Require white space after a command in Vim9 script. (closes #7467) Also fix that Vim9 style heredoc was not always recognized.
2020-09-04patch 8.2.1593: tests do not check the error number properlyv8.2.1593Bram Moolenaar
Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
2020-07-27patch 8.2.1306: checking for first character of dict key is inconsistentv8.2.1306Bram Moolenaar
Problem: Checking for first character of dict key is inconsistent. Solution: Add eval_isdictc(). (closes #6546)
2020-07-23patch 8.2.1274: Vim9: no error for missing white space at script levelv8.2.1274Bram Moolenaar
Problem: Vim9: no error for missing white space in assignment at script level. Solution: Check for white space. (closes #6495)
2020-07-11patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar
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-04-24patch 8.2.0633: crash when using null partial in filter()v8.2.0633Bram Moolenaar
Problem: Crash when using null partial in filter(). Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
2020-04-23patch 8.2.0619: null dict is not handled like an empty dictv8.2.0619Bram Moolenaar
Problem: Null dict is not handled like an empty dict. Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
2020-03-20patch 8.2.0418: code in eval.c not sufficiently covered by testsv8.2.0418Bram Moolenaar
Problem: Code in eval.c not sufficiently covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
2020-03-18patch 8.2.0401: not enough test coverage for evalvars.cv8.2.0401Bram Moolenaar
Problem: Not enough test coverage for evalvars.c. Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2019-11-26patch 8.1.2348: :const cannot be followed by "| endif"v8.1.2348Bram Moolenaar
Problem: :const cannot be followed by "| endif". Solution: Check following command for :const. (closes #5269) Also fix completion after :const.
2019-11-06patch 8.1.2264: there are two test files for :letv8.1.2264Bram Moolenaar
Problem: There are two test files for :let. Solution: Merge the two files.
2019-11-06patch 8.1.2262: unpack assignment in function not recognizedv8.1.2262Bram Moolenaar
Problem: Unpack assignment in function not recognized. Solution: Skip over "[a, b]". (closes #5051)
2019-10-16patch 8.1.2168: heredoc assignment not skipped in if blockv8.1.2168Bram Moolenaar
Problem: Heredoc assignment not skipped in if block. Solution: Check if "skip" is set. (closes #5063)
2019-07-21patch 8.1.1729: heredoc with trim not properly handled in functionv8.1.1729Bram Moolenaar
Problem: Heredoc with trim not properly handled in function. Solution: Allow for missing indent. (FUJIWARA Takuya, closes #4713)
2019-07-21patch 8.1.1723: heredoc assignment has no room for new featuresv8.1.1723Bram Moolenaar
Problem: Heredoc assignment has no room for new features. (FUJIWARA Takuya) Solution: Require the marker does not start with a lower case character. (closes #4705)
2019-06-25patch 8.1.1588: in :let-heredoc line continuation is recognizedv8.1.1588Bram Moolenaar
Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
2019-06-24patch 8.1.1585: :let-heredoc does not trim enoughv8.1.1585Bram Moolenaar
Problem: :let-heredoc does not trim enough. Solution: Trim indent from the contents based on the indent of the first line. Use let-heredoc in more tests.
2019-05-19patch 8.1.1356: some text in heredoc assignment ends the textv8.1.1356Bram Moolenaar
Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi) Solution: Recognize "let v =<<" and skip until the end.
2019-05-19patch 8.1.1354: getting a list of text lines is clumsyv8.1.1354Bram Moolenaar
Problem: Getting a list of text lines is clumsy. Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes #4386)
2019-03-30patch 8.1.1091: MS-Windows: cannot use multi-byte chars in environment varv8.1.1091Bram Moolenaar
Problem: MS-Windows: cannot use multi-byte chars in environment var. Solution: Use the wide API. (Ken Takata, closes #4008)
2019-02-11patch 8.1.0897: can modify a:000 when using a referencev8.1.0897Bram Moolenaar
Problem: Can modify a:000 when using a reference. Solution: Make check for locked variable stricter. (Ozaki Kiichi, closes #3930)
2019-02-10patch 8.1.0888: the a: dict is not immutable as documentedv8.1.0888Bram Moolenaar
Problem: The a: dict is not immutable as documented. Solution: Make the a:dict immutable, add a test. (Ozaki Kiichi, Yasuhiro Matsumoto, closes #3929)
2017-08-04patch 8.0.0861: still many old style testsv8.0.0861Bram Moolenaar
Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan)