Lines Matching refs:expected

189 …CheckDefExecFailure(['&ts = g:alist'], 'E1012: Type mismatch; expected number but got list<number>…
191 CheckDefExecFailure(['&ts = g:astring'], 'E1012: Type mismatch; expected number but got string')
408 CheckDefFailure(lines, 'E1012: Type mismatch; expected list<any> but got string', 3)
416 …CheckDefExecAndScriptFailure(lines, 'E1163: Variable 2: type mismatch, expected string but got num…
424 …CheckDefAndScriptFailure(lines, 'E1163: Variable 3: type mismatch, expected string but got number')
432 …CheckDefExecAndScriptFailure(lines, 'E1163: Variable 3: type mismatch, expected string but got num…
490 CheckDefFailure(lines, 'E1012: Type mismatch; expected number but got list<unknown>', 3)
519 CheckDefFailure(lines, 'E1012: Type mismatch; expected number but got dict<unknown>', 3)
543 CheckDefFailure(lines, 'E1012: Type mismatch; expected dict<number> but got list<unknown>', 2)
555 CheckDefFailure(lines, 'E1012: Type mismatch; expected list<number> but got dict<unknown>', 2)
1118 CheckScriptFailure(lines, 'E1012: Type mismatch; expected number but got string')
1192 CheckDefFailure(['var name: list<string> = [123]'], 'expected list<string> but got list<number>')
1193 CheckDefFailure(['var name: list<number> = ["xx"]'], 'expected list<number> but got list<string>')
1195 …CheckDefFailure(['var name: dict<string> = {key: 123}'], 'expected dict<string> but got dict<numbe…
1196 …CheckDefFailure(['var name: dict<number> = {key: "xx"}'], 'expected dict<number> but got dict<stri…
1199 CheckDefFailure(['var name: number = feedkeys("0")'], 'expected number but got void')
1243 …CheckDefFailure(["var l: list<number> = ['', true]"], 'E1012: Type mismatch; expected list<number>…
1244 …CheckDefFailure(["var l: list<list<number>> = [['', true]]"], 'E1012: Type mismatch; expected list…
1270 …CheckDefFailure(["var d: dict<number> = {a: '', b: true}"], 'E1012: Type mismatch; expected dict<n…
1271 …d: dict<dict<number>> = {x: {a: '', b: true}}"], 'E1012: Type mismatch; expected dict<dict<number>…
1411 …CheckDefAndScriptFailure(lines, 'E1012: Type mismatch; expected func(number) but got func(any): bo…
1462 CheckDefAndScriptFailure(lines, 'E1012: Type mismatch; expected number but got list<string>', 1)
1774 CheckDefExecFailure(lines, 'E1012: Type mismatch; expected number but got string')
1827 ], 'E1012: Type mismatch; expected list<number> but got number', 2)
2083 var expected = 'E1174: String required for argument 1'
2084 assert_fails('so Xtestscript', [expected, expected], 3)