aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwatiko <service@mail.watiko.net>2015-12-17 17:22:19 +0900
committerwatiko <service@mail.watiko.net>2016-01-10 10:44:57 +0900
commitd8e07deff6e3763166259f04c57b8f253bb2db46 (patch)
treebc7f0bf0d6de6e2c523a9746073ee922e2f1d37a /src
parent6c8e572d098457868c9090fa562d9628c6537849 (diff)
downloadrneovim-d8e07deff6e3763166259f04c57b8f253bb2db46.tar.gz
rneovim-d8e07deff6e3763166259f04c57b8f253bb2db46.tar.bz2
rneovim-d8e07deff6e3763166259f04c57b8f253bb2db46.zip
tests: Migrate legacy test assert.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/Makefile3
-rw-r--r--src/nvim/testdir/test_assert.vim19
2 files changed, 1 insertions, 21 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index efcb8a68d2..381d1727da 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -31,8 +31,7 @@ SCRIPTS := test_eval.out \
test_command_count.out \
test_cdo.out \
-NEW_TESTS = test_assert.res \
- test_undolevels.res
+NEW_TESTS = test_undolevels.res
SCRIPTS_GUI := test16.out
diff --git a/src/nvim/testdir/test_assert.vim b/src/nvim/testdir/test_assert.vim
deleted file mode 100644
index 049ce98859..0000000000
--- a/src/nvim/testdir/test_assert.vim
+++ /dev/null
@@ -1,19 +0,0 @@
-" Test that the methods used for testing work.
-
-func Test_assert_false()
- call assert_false(0)
-endfunc
-
-func Test_assert_true()
- call assert_true(1)
- call assert_true(123)
-endfunc
-
-func Test_assert_equal()
- let s = 'foo'
- call assert_equal('foo', s)
- let n = 4
- call assert_equal(4, n)
- let l = [1, 2, 3]
- call assert_equal([1, 2, 3], l)
-endfunc