cessen / ropey

A utf8 text rope for manipulating and editing large texts.
MIT License
1.04k stars 46 forks source link

[tests] Run search_char_idx_02 and search_line_break_idx_04 only in debug mode #91

Closed blinxen closed 1 year ago

blinxen commented 1 year ago

Both tests only panic in debug mode because debug_assert is used In release mode 'debug_assert' evaluates to a NOOP and the tests don't panic

cessen commented 1 year ago

Thanks a bunch! Looks good to me. As soon as CI finishes, I'll merge.