|
70 | 70 | @test run("|asdf", "dh") == testbuf("|asdf")
|
71 | 71 | @test run("asd|f", "X") == testbuf("as|f")
|
72 | 72 | @test run("asd|f", "x") == testbuf("as|d")
|
73 |
| - |
| 73 | + |
74 | 74 | @test run("|asdf", "s") == testbuf("|i|sdf")
|
75 | 75 | @test run("asd|f", "s") == testbuf("asd|i|")
|
76 | 76 | end
|
77 | 77 |
|
78 | 78 | @testset "de" begin
|
79 |
| - @test run("a|sdf", "de") == testbuf("a|") |
| 79 | + @test run("a|sdf qwerty", "de") == testbuf("a| qwerty") |
| 80 | + @test run("a|sdf", "de") == testbuf("|a") |
80 | 81 | @test run("a|sdf abcd", "de") == testbuf("a| abcd")
|
81 | 82 | end
|
82 | 83 |
|
83 | 84 | @testset "dw" begin
|
84 |
| - @test run("a|", "dw") == testbuf("a|") |
| 85 | + @test run("|", "dw") == testbuf("|") |
| 86 | + @test run("|a", "dw") == testbuf("|") |
85 | 87 | @test run("a|sdf abcd", "dw") == testbuf("a|abcd")
|
86 | 88 | end
|
87 | 89 | @testset "distinct behavior of dw and cw" begin
|
|
101 | 103 | @test run("a %%%|asdf b", "ciw") == testbuf("a %%%|i| b")
|
102 | 104 | @test run("a |asdf b", "ciw") == testbuf("a |i| b")
|
103 | 105 |
|
104 |
| - @test run("{3: three|}", "daw") == testbuf("3: thre|e") |
105 |
| - @test run("{3: thre|e}", "daw") == testbuf("3:|}") |
| 106 | + @test_skip run("{3: three|}", "daw") == testbuf("{3: thre|e") |
| 107 | + @test_skip run("{3: thre|e}", "daw") == testbuf("{3:|}") |
106 | 108 | end
|
107 | 109 |
|
108 | 110 | @testset "fFtT" begin
|
|
122 | 124 | end
|
123 | 125 |
|
124 | 126 | @testset "D" begin
|
125 |
| - @test run("aaaa bbbb |ccc ddd", "d\$") == testbuf("aaaa bbbb |") |
126 |
| - @test run("aaaa bbbb |ccc ddd", "D") == testbuf("aaaa bbbb |") |
| 127 | + @test run("aaaa bbbb |ccc ddd", "d\$") == testbuf("aaaa bbbb| ") |
| 128 | + @test run("aaaa bbbb |ccc ddd", "D") == testbuf("aaaa bbbb| ") |
127 | 129 | @test run("aaaa bbbb |ccc ddd", "D") == run("aaaa bbbb |ccc ddd", "d\$")
|
128 | 130 | end
|
129 | 131 |
|
|
163 | 165 | s = "\u2200 x \u2203 y"
|
164 | 166 | s = "∀ x ∃ y"
|
165 | 167 | @test run("|∀ x ∃ y", "w") == testbuf("∀ |x ∃ y")
|
166 |
| - @test run("∀ x |∃ y", "w") == testbuf("∀ x |∃ y") |
| 168 | + @test run("∀ x |∃ y", "w") == testbuf("∀ x ∃ |y") |
167 | 169 |
|
168 | 170 |
|
169 | 171 |
|
|
188 | 190 | @test run("|abcde", "3rx") == testbuf("xx|xde")
|
189 | 191 | @test run("∀ x |∃ y", "rx") == testbuf("∀ x |x y")
|
190 | 192 |
|
191 |
| - @test run("∀ x ∃ |y", "rx") == testbuf("∀ x |∃ |x") |
| 193 | + t = run("∀ x ∃ |n|y", "rx") |
| 194 | + result = testbuf("∀ x ∃ |n|x") |
| 195 | + |
| 196 | + @test_broken t == result |
| 197 | + |
192 | 198 | end
|
193 | 199 |
|
194 | 200 | @testset "yank / put" begin
|
|
0 commit comments