Skip to content

Commit

Permalink
Merge pull request #91 from blinxen/master
Browse files Browse the repository at this point in the history
[tests] Run search_char_idx_02 and search_line_break_idx_04 only in debug mode
  • Loading branch information
cessen authored Oct 15, 2023
2 parents 387ea30 + e629850 commit dfb0a78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tree/node_children.rs
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ mod tests {

#[test]
#[should_panic]
#[cfg(debug_assertions)]
fn search_char_idx_02() {
let mut children = NodeChildren::new();
children.push((
Expand Down Expand Up @@ -997,6 +998,7 @@ mod tests {

#[test]
#[should_panic]
#[cfg(debug_assertions)]
fn search_line_break_idx_04() {
let mut children = NodeChildren::new();
children.push((
Expand Down

0 comments on commit dfb0a78

Please sign in to comment.