summaryrefslogtreecommitdiff
path: root/src/message_test.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2893: multi-byte text in popup title shows up wrongv8.2.2893Ralf Schandl2021-05-281-0/+32
| | | | | | Problem: Multi-byte text in popup title shows up wrong. Solution: Use the character width instead of the byte length. (Ralf Schandl, closes #8267, closes #8264)
* patch 8.2.2515: memory access error when truncating an empty messagev8.2.2515Bram Moolenaar2021-02-141-0/+9
| | | | | Problem: Memory access error when truncating an empty message. Solution: Check for an empty string. (Dominique Pellé, closes #7841)
* patch 8.2.0608: warning from clang when building message testv8.2.0608Bram Moolenaar2020-04-201-1/+1
| | | | | Problem: Warning from clang when building message test. Solution: Use a void pointer. (Dominique Pelle, closes #5958)
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0234: message test fails on SunOSv8.2.0234Bram Moolenaar2020-02-081-3/+15
| | | | | Problem: Message test fails on SunOS. Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
* patch 8.2.0119: message test fails on some platformsv8.2.0119Bram Moolenaar2020-01-141-1/+1
| | | | | Problem: Message test fails on some platforms. (Elimar Riesebieter) Solution: Add type cast to vim_snprintf() argument. (Dominique Pelle)
* patch 8.2.0066: some corners of vim_snprintf() are not testedv8.2.0066Bram Moolenaar2019-12-311-0/+163
| | | | | Problem: Some corners of vim_snprintf() are not tested. Solution: Add a test in C. (Dominique Pelle, closes #5422)
* patch 8.2.0060: message test only runs with one encodingv8.2.0060Bram Moolenaar2019-12-301-0/+6
| | | | | | Problem: Message test only runs with one encoding. (Dominique Pelle) Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related to #5410)
* patch 8.2.0026: still some /* */ commentsv8.2.0026Bram Moolenaar2019-12-211-5/+5
| | | | | Problem: Still some /* */ comments. Solution: Convert to // comments.
* patch 8.0.0540: building unit tests failsv8.0.0540Bram Moolenaar2017-04-021-2/+0
| | | | | Problem: Building unit tests fails. Solution: Move params outside of #ifdef.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2068v7.4.2068Bram Moolenaar2016-07-191-6/+38
| | | | | | | Problem: Not all arguments of trunc_string() are tested. Memory access error when running the message tests. Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run unittests with valgrind. Fix the access error.
* patch 7.4.2051v7.4.2051Bram Moolenaar2016-07-161-0/+77
Problem: No proper testing of trunc_string(). Solution: Add a unittest for message.c.