Mercurial > vim
annotate src/testdir/test22.in @ 22333:2ccc3e68b617 v8.2.1715
patch 8.2.1715: Motif GUI: commented out code missed {}
Commit: https://github.com/vim/vim/commit/26cd3063b2e2084cfd17989e7584c64f278aaaef
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 20 21:13:27 2020 +0200
patch 8.2.1715: Motif GUI: commented out code missed {}
Problem: Motif GUI: commented out code missed {}.
Solution: Add {} and reenable the code. (similar to https://github.com/vim/vim/issues/6989)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Sep 2020 21:15:05 +0200 |
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 complicated + argument to :edit command |
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 :$-1w! Xfile1 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 :$w! Xfile2 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 :edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 :w! test.out |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 :e Xfile1 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 :w >> test.out |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 :qa! |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 ENDTEST |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar" |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 foo|bar |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 foo/bar |