Parcourir la source

Fix test failure

Junegunn Choi il y a 11 ans
Parent
commit
e8cd357060
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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