annotate src/testdir/test26.in @ 23201:94608d7c3b55 v8.2.2146

patch 8.2.2146: Vim9: automatic conversion of number to string for dict key Commit: https://github.com/vim/vim/commit/9987fb0b4b591e6450fb1dfbe8f615f365057f2a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 15 21:41:56 2020 +0100 patch 8.2.2146: Vim9: automatic conversion of number to string for dict key Problem: Vim9: automatic conversion of number to string for dict key. Solution: Do not convert number to string. (closes https://github.com/vim/vim/issues/7474)
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Dec 2020 21:45:05 +0100
parents 30bdd2e4a6f9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 Test for writing and reading a file of over 100 Kbyte
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 1 line: "This is the start"
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 3001 lines: "This is the leader"
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 1 line: "This is the middle"
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 3001 lines: "This is the trailer"
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 1 line: "This is the end"
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 STARTTEST
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 :%d
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 aThis is the start
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 This is the leader
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 This is the middle
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 This is the trailer
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 This is the endkY3000p2GY3000p
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 :w! Xtest
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 :%d
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 :e! Xtest
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 :.w! test.out
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 3003G:.w >>test.out
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 6005G:.w >>test.out
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 :qa!
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 ENDTEST
30bdd2e4a6f9 patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24