Browse Source

Fix test failure

Junegunn Choi 11 năm trước cách đây
mục cha
commit
e8cd357060
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      test/workflow.vader

+ 2 - 2
test/workflow.vader

@@ -304,8 +304,8 @@ Execute (Rollback recent updates, PlugUpdate, then PlugDiff):
 
   " ]] motion
   execute 'normal $]]'
-  Assert index([lnum + 4, lnum + 5], line('.')) >= 0
-   " +5 for merge commit
+  Assert line('.') >= 4
+    " 5+ for merge commit
   AssertEqual 3, col('.')
 
   " [[ motion