On Monday, November 30, 2015 at 11:23:23 AM UTC+9, mattn wrote: > On Monday, November 30, 2015 at 10:41:21 AM UTC+9, Ryuichi Hayashida wrote: > > I think assertion message is very important reported when it fails. Should > > message be customizable as many assertions in other languages? > > > > assertEqual({exp}, {act} [, {msg}]) > > assertFalse({actual} [, {msg}]) > > assertTrue({actual} [, {msg}]) > > > > This is used as below. > > > > assertTrue(check_something(label), 'something failed with ' . label) > > Here is a patch. > > https://gist.github.com/mattn/e6405f257bae62ccfe54
and doc. https://gist.githubusercontent.com/mattn/69e527d8e45791d98e49/raw/3e7c9cf9030c7d89375c5166a1a1ca2fde9f46e8/gistfile1.diff -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.