diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-14 20:34:21 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-14 20:34:21 +0100 |
commit | c726503acfc104acd9ee6d540479c085f98f4194 (patch) | |
tree | f8c10c5bbd315b08995c301b44f9cef674c7ae11 /test/test_loclist_binary_search.vader | |
parent | 56b866c8d8c1dc9e236019a74d4baeafb3bbcb57 (diff) | |
download | ale-c726503acfc104acd9ee6d540479c085f98f4194.zip |
Correct the order of arguments for AssertEqual in some places.
Diffstat (limited to 'test/test_loclist_binary_search.vader')
-rw-r--r-- | test/test_loclist_binary_search.vader | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_loclist_binary_search.vader b/test/test_loclist_binary_search.vader index 97d8a026..e0b2c651 100644 --- a/test/test_loclist_binary_search.vader +++ b/test/test_loclist_binary_search.vader @@ -10,17 +10,17 @@ Before: \] Execute (Exact column matches should be correct): - AssertEqual ale#util#BinarySearch(g:loclist, 3, 2), 1 + AssertEqual 1, ale#util#BinarySearch(g:loclist, 3, 2) Execute (Off lines, there should be no match): - AssertEqual ale#util#BinarySearch(g:loclist, 4, 2), -1 + AssertEqual -1, ale#util#BinarySearch(g:loclist, 4, 2) Execute (Near column matches should be taken): - AssertEqual ale#util#BinarySearch(g:loclist, 3, 11), 2 - AssertEqual ale#util#BinarySearch(g:loclist, 3, 13), 4 + AssertEqual 2, ale#util#BinarySearch(g:loclist, 3, 11) + AssertEqual 4, ale#util#BinarySearch(g:loclist, 3, 13) Execute (Columns before should be taken when the cursor is far ahead): - AssertEqual ale#util#BinarySearch(g:loclist, 3, 300), 4 + AssertEqual 4, ale#util#BinarySearch(g:loclist, 3, 300) After: unlet g:loclist |