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

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui