summaryrefslogtreecommitdiff
path: root/src/testdir/test_assert.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_assert.vim')
-rw-r--r--src/testdir/test_assert.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_assert.vim b/src/testdir/test_assert.vim
index df2636d7b..2ac828b28 100644
--- a/src/testdir/test_assert.vim
+++ b/src/testdir/test_assert.vim
@@ -62,6 +62,12 @@ func Test_compare_fail()
endtry
endfunc
+func Test_assert_fail_fails()
+ call assert_fails('xxx', {})
+ call assert_true(v:errors[0] =~ "Expected {} but got 'E731:")
+ call remove(v:errors, 0)
+endfunc
+
func Test_user_is_happy()
smile