Skip to content

Commit

Permalink
Update strings/z_function.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: David Leal <[email protected]>
  • Loading branch information
RitikaGupta8734 and Panquesito7 committed Sep 3, 2021
1 parent 8ee1415 commit 88796b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strings/z_function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static void test() {
std::string text2 = "greengrass";
std::string pattern2 = "abc";

// matching_indexes2 gets the indexes where pattern2 exists in text2
// matching_indexes2 gets the indexes where pattern2 exists in text2
std::vector<uint64_t> matching_indexes2 = find_pat_in_text(pattern2, text2);
assert((matching_indexes2 == std::vector<uint64_t>{}));
}
Expand Down

0 comments on commit 88796b2

Please sign in to comment.