Lines Matching refs:v

5   call assert_equal(0, assert_false(v:false))
6 call assert_equal(0, v:false->assert_false())
9 call assert_match("Expected 'False' but got 123", v:errors[0])
10 call remove(v:errors, 0)
13 call assert_match("Expected 'False' but got 123", v:errors[0])
14 call remove(v:errors, 0)
20 call assert_equal(0, assert_true(v:true))
21 call assert_equal(0, v:true->assert_true())
24 call assert_match("Expected 'True' but got 0", v:errors[0])
25 call remove(v:errors, 0)
28 call assert_match("Expected 'True' but got 0", v:errors[0])
29 call remove(v:errors, 0)
45 call assert_match("Expected 'bar' but got 'foo'", v:errors[0])
46 call remove(v:errors, 0)
49 …_match("Expected 'X\\\\\\[x occurs 21 times]X' but got 'X\\\\\\[y occurs 25 times]X'", v:errors[0])
50 call remove(v:errors, 0)
54 call assert_match('Expected ''\\b\\e\\f\\n\\t\\r\\\\\\x01\\x7f'' but got ''x''', v:errors[0])
55 call remove(v:errors, 0)
62 call assert_match("Expected {'one': 1} but got {'one': 3} - 1 equal item omitted", v:errors[0])
63 call remove(v:errors, 0)
66 call assert_match("Expected {'one': 1, 'two': 2} but got {'one': 11, 'two': 22}", v:errors[0])
67 call remove(v:errors, 0)
70 call assert_match("Expected {} but got {'one': 1, 'two': 2}", v:errors[0])
71 call remove(v:errors, 0)
74 call assert_match("Expected {'one': 1, 'two': 2} but got {}", v:errors[0])
75 call remove(v:errors, 0)
80 call assert_match("E485: Can't read file abcabc", v:errors[0])
81 call remove(v:errors, 0)
86 call assert_match("E485: Can't read file xyzxyz", v:errors[0])
87 call remove(v:errors, 0)
94 call assert_match("first file is shorter", v:errors[0])
95 call remove(v:errors, 0)
100 call assert_match("second file is shorter", v:errors[0])
101 call remove(v:errors, 0)
106 call assert_match('difference at byte 4, line 1 after "1234X" vs "1234Y"', v:errors[0])
107 call remove(v:errors, 0)
113 …call assert_match('difference at byte 234, line 1 after "' .. xes .. 'X" vs "' .. xes .. 'Y"', v:e…
114 call remove(v:errors, 0)
117 call assert_match("a message: difference at byte 234, line 1 after", v:errors[0])
118 call remove(v:errors, 0)
131 call assert_match("Expected not equal to 'foo'", v:errors[0])
132 call remove(v:errors, 0)
137 call assert_match('something is wrong', v:errors[0])
138 call remove(v:errors, 0)
140 call assert_match('also wrong', v:errors[0])
141 call remove(v:errors, 0)
156 call assert_match("Expected 'E12345:' but got 'Vim:E492: ", v:errors[0])
157 call remove(v:errors, 0)
171 call assert_match('v:exception is not set', v:errors[0])
172 call remove(v:errors, 0)
176 let save_verrors = v:errors
177 let v:['errors'] = {'foo': 3}
179 let verrors = v:errors
180 let v:errors = save_verrors
185 let s:v = {}
186 let s:x = {"a": s:v}
187 let s:v["b"] = s:x
193 call assert_match("Expected NULL but got ''", v:errors[0])
194 call remove(v:errors, 0)
202 call assert_match("Pattern 'bar.*foo' does not match 'foobar'", v:errors[0])
203 call remove(v:errors, 0)
206 call assert_match('wrong', v:errors[0])
207 call remove(v:errors, 0)
210 call assert_match('wrong', v:errors[0])
211 call remove(v:errors, 0)
219 call assert_match("Pattern 'foo' does match 'foobar'", v:errors[0])
220 call remove(v:errors, 0)
223 call assert_match("Pattern 'foo' does match 'foobar'", v:errors[0])
224 call remove(v:errors, 0)
229 call assert_match("Expected 'E12345' but got 'E492:", v:errors[0])
230 call remove(v:errors, 0)
233 call assert_match("stupid: Expected 'E9876' but got 'E492:", v:errors[0])
234 call remove(v:errors, 0)
237 call assert_match("Expected 'E9876' but got 'E492:", v:errors[0])
238 call remove(v:errors, 0)
241 call assert_match("Expected 'E9876' but got 'E492:", v:errors[0])
242 call remove(v:errors, 0)
245 call assert_match("command did not fail: echo command", v:errors[0])
246 call remove(v:errors, 0)
249 call assert_match("command did not fail: echo command", v:errors[0])
250 call remove(v:errors, 0)
255 let exp = v:exception
262 let exp = v:exception
269 let exp = v:exception
276 let exp = v:exception
283 let exp = v:exception
299 call assert_match("command did not beep: normal 0", v:errors[0])
300 call remove(v:errors, 0)
304 call assert_match("command did not beep: normal 0", v:errors[0])
305 call remove(v:errors, 0)
317 call assert_match("Expected range 5 - 7, but got 4", v:errors[0])
318 call remove(v:errors, 0)
320 call assert_match("Expected range 5 - 7, but got 8", v:errors[0])
321 call remove(v:errors, 0)
326 call assert_match("Expected range 5 - 7, but got 8", v:errors[0])
327 call remove(v:errors, 0)
340 call assert_match("Expected range 5.0 - 7.0, but got 4.0", v:errors[0])
341 call remove(v:errors, 0)
343 call assert_match("Expected range 5.0 - 7.0, but got 8.0", v:errors[0])
344 call remove(v:errors, 0)
350 call assert_match("testing: Expected 'foo' but got 'bar'", v:errors[0])
351 call remove(v:errors, 0)