fix(lib): check point, byte ranges in ts_query_cursor_set
range functions
This commit is contained in:
parent
9d86cb2c20
commit
5b5cf5a5e5
6 changed files with 45 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue