fix(lib): check point, byte ranges in ts_query_cursor_set

range functions
This commit is contained in:
WillLillis 2024-11-02 00:44:58 -04:00 committed by Amaan Qureshi
parent 9d86cb2c20
commit 5b5cf5a5e5
6 changed files with 45 additions and 11 deletions

View file

@ -1996,6 +1996,7 @@ fn test_query_matches_within_byte_range() {
]
);
// An end byte of zero indicates there is no end
let matches =
cursor
.set_byte_range(12..0)