aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_startup.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim
index 96a5c96da1..7db033cb65 100644
--- a/src/nvim/testdir/test_startup.vim
+++ b/src/nvim/testdir/test_startup.vim
@@ -525,11 +525,11 @@ func Test_geometry()
" Depending on the GUI library and the windowing system the final size
" might be a bit different, allow for some tolerance. Tuned based on
" actual failures.
- call assert_inrange(31, 35, lines[0])
- call assert_equal(13, lines[1])
- call assert_equal(41, lines[2])
- call assert_equal(43, lines[3])
- call assert_equal([41, 43], lines[4])
+ call assert_inrange(31, 35, str2nr(lines[0]))
+ call assert_equal('13', lines[1])
+ call assert_equal('41', lines[2])
+ call assert_equal('43', lines[3])
+ call assert_equal('[41, 43]', lines[4])
endif
endif