Mercurial > vim
comparison src/testdir/test82.in @ 7003:bc269cf15ccd v7.4.819
patch 7.4.819
Problem: Beeping when running the tests.
Solution: Fix 41 beeps. (Roland Eggner)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 11 Aug 2015 18:33:48 +0200 |
parents | 46cf49cc9289 |
children |
comparison
equal
deleted
inserted
replaced
7002:6db4f492c515 | 7003:bc269cf15ccd |
---|---|
7 : e! test.ok | 7 : e! test.ok |
8 : w! test.out | 8 : w! test.out |
9 : qa! | 9 : qa! |
10 :endif | 10 :endif |
11 :set enc=utf8 | 11 :set enc=utf8 |
12 ggdG | 12 ggdG: |
13 : | 13 : |
14 :function! Ch(a, op, b, expected) | 14 :function! Ch(a, op, b, expected) |
15 : if eval(printf('"%s" %s "%s"', a:a, a:op, a:b)) != a:expected | 15 : if eval(printf('"%s" %s "%s"', a:a, a:op, a:b)) != a:expected |
16 : call append(line('$'), printf('"%s" %s "%s" should return %d', a:a, a:op, a:b, a:expected)) | 16 : call append(line('$'), printf('"%s" %s "%s" should return %d', a:a, a:op, a:b, a:expected)) |
17 : else | 17 : else |