Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Fix subsequence match score in native test
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Ratner <leroix08@gmail.com>
  • Loading branch information
maxbrunsfeld authored and leroix committed Sep 21, 2017
1 parent 1fdcc4a commit 7fa231f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/native/text-buffer-test.cc
Expand Up @@ -410,7 +410,7 @@ TEST_CASE("TextBuffer::find_words_with_subsequence") {

REQUIRE(buffer.find_words_with_subsequence(u"bna", u"") == vector<SubsequenceMatch>({
{u"banana", {Point{0, 0}, Point{0, 20}}, {0, 2, 3}, 12},
{u"bandana", {Point{0, 12}}, {0, 5, 6}, 10}
{u"bandana", {Point{0, 12}}, {0, 5, 6}, 7}
}));
}

Expand Down

0 comments on commit 7fa231f

Please sign in to comment.