Mercurial > vim
comparison src/testdir/test_assert.vim @ 7412:bc5de65e499a v7.4.1010
commit https://github.com/vim/vim/commit/2d820808cda15b3ad9fe674393d1f1e997453d9e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 31 20:46:39 2015 +0100
patch 7.4.1010
Problem: Some developers are unhappy while running tests.
Solution: Add a test and some color.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Dec 2015 21:00:04 +0100 |
parents | b5e9810b389d |
children | eb9cc96138a3 |
comparison
equal
deleted
inserted
replaced
7411:a7f321e32883 | 7412:bc5de65e499a |
---|---|
15 let n = 4 | 15 let n = 4 |
16 call assert_equal(4, n) | 16 call assert_equal(4, n) |
17 let l = [1, 2, 3] | 17 let l = [1, 2, 3] |
18 call assert_equal([1, 2, 3], l) | 18 call assert_equal([1, 2, 3], l) |
19 endfunc | 19 endfunc |
20 | |
21 func Test_user_is_happy() | |
22 smile | |
23 sleep 300m | |
24 endfunc |