Closes https://github.com/neovim/neovim/issues/459
Work on https://github.com/neovim/neovim/issues/459
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. b9644433d2
b9644433d2
Problem: No proper testing of trunc_string(). Solution: Add a unittest for message.c. 502ae4ba63
502ae4ba63