Mercurial > vim
comparison src/testdir/test87.ok @ 4413:fa90ebf2c8f3 v7.3.955
updated for version 7.3.955
Problem: Python: Not enough tests.
Solution: Add tests for vim.{current,window*,tabpage*}. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 15 May 2013 16:27:37 +0200 |
parents | 907b1f035ee7 |
children | d5177d5ece0c |
comparison
equal
deleted
inserted
replaced
4412:13c2f09befbd | 4413:fa90ebf2c8f3 |
---|---|
67 [1, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 1] | 67 [1, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 1] |
68 Abc | 68 Abc |
69 bac | 69 bac |
70 def | 70 def |
71 bar | 71 bar |
72 jkl | |
72 >>> paste | 73 >>> paste |
73 p/gopts1: False | 74 p/gopts1: False |
74 p/wopts1! KeyError | 75 p/wopts1! KeyError |
75 inv: 2! KeyError | 76 inv: 2! KeyError |
76 wopts1! KeyError | 77 wopts1! KeyError |
315 8:<buffer c>=<buffer c> | 316 8:<buffer c>=<buffer c> |
316 4 | 317 4 |
317 i4:<buffer test87.in> | 318 i4:<buffer test87.in> |
318 i4:<buffer test87.in> | 319 i4:<buffer test87.in> |
319 StopIteration | 320 StopIteration |
321 Number of tabs: 4 | |
322 Current tab pages: | |
323 <tabpage 0>(1): 1 windows, current is <window object (unknown)> | |
324 Windows: | |
325 <window object (unknown)>(0): displays buffer <buffer test87.in>; cursor is at (929, 0) | |
326 <tabpage 1>(2): 1 windows, current is <window object (unknown)> | |
327 Windows: | |
328 <window object (unknown)>(0): displays buffer <buffer 0>; cursor is at (1, 0) | |
329 <tabpage 2>(3): 2 windows, current is <window object (unknown)> | |
330 Windows: | |
331 <window object (unknown)>(0): displays buffer <buffer a.1>; cursor is at (1, 0) | |
332 <window object (unknown)>(0): displays buffer <buffer 1>; cursor is at (1, 0) | |
333 <tabpage 3>(4): 4 windows, current is <window 0> | |
334 Windows: | |
335 <window 0>(1): displays buffer <buffer c.2>; cursor is at (1, 0) | |
336 <window 1>(2): displays buffer <buffer b.2>; cursor is at (1, 0) | |
337 <window 2>(3): displays buffer <buffer a.2>; cursor is at (1, 0) | |
338 <window 3>(4): displays buffer <buffer 2>; cursor is at (1, 0) | |
339 Number of windows in current tab page: 4 | |
340 Current tab page: <tabpage 3> | |
341 Current window: <window 0>: <window 0> is <window 0> | |
342 Current buffer: <buffer c.2>: <buffer c.2> is <buffer c.2> is <buffer c.2> | |
343 ValueError at assigning foreign tab window | |
344 Type error at assigning None to vim.current.window | |
345 Type error at assigning None to vim.current.tabpage | |
346 Type error at assigning None to vim.current.buffer | |
347 Current tab page: <tabpage 2> | |
348 Current window: <window 0> | |
349 Current buffer: <buffer test87.in> | |
350 Current line: 'Type error at assigning None to vim.current.buffer' |