Mercurial > vim
annotate src/testdir/test21.in @ 27928:ca7a207d83cd v8.2.4489
patch 8.2.4489: failing test for comparing v:null with number
Commit: https://github.com/vim/vim/commit/c6e9d7063d275139d3c207435d293271c8b556ab
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 2 13:13:30 2022 +0000
patch 8.2.4489: failing test for comparing v:null with number
Problem: Failing test for comparing v:null with number.
Solution: Allow comparing v:null with number in legacy script.
(Ken Takata, closes #9873) Also do this for float.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Mar 2022 14:15:04 +0100 |
parents | 30bdd2e4a6f9 |
children |
rev | line source |
---|---|
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 Tests for file with some lines ending in CTRL-M, some not |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 STARTTEST |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 :set ta tx |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 :e! |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 :$-3,$w! test.out |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 :qa! |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 ENDTEST |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 this lines ends in a |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 this one doesn't |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 this one does |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 and the last one doesn't |