Skip to content

Commit 97b60ce

Browse files
committedJun 16, 2024·
Use vim term_* API
1 parent 9c9a21e commit 97b60ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎test/test_replica.vim

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ def g:Test_replica_basic()
6161
redraw!
6262

6363
var bufnr = term_list()[0]
64+
var cursor = term_getcursor(bufnr)
65+
var lastline = term_getline(bufnr, cursor[0])
6466

65-
var lastline = LastIpythonNonBlankLine(bufnr)
67+
# var lastline = LastIpythonNonBlankLine(bufnr)
6668
var expected_prompt = '[1]'
6769
assert_true(lastline =~# expected_prompt)
6870

0 commit comments

Comments
 (0)
Please sign in to comment.