Skip to content

Commit fcb2e3f

Browse files
committed
test: Use streaming_iterator from tree-sitter crate
1 parent 03ac57e commit fcb2e3f

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ tree-sitter = "0.25"
2020
tree-sitter-ruby = { git = "https://github.com/tree-sitter/tree-sitter-ruby.git", rev = "71bd32fb7607035768799732addba884a37a6210" }
2121
tree-sitter-embedded-template = { git = "https://github.com/tree-sitter/tree-sitter-embedded-template.git", rev = "c70c1de07dedd532089c0c90835c8ed9fa694f5c" }
2222
insta = { version = "1.46", features = ["yaml"] }
23-
streaming-iterator = "0.1"

tests/support/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
use streaming_iterator::StreamingIterator;
21
use std::path::Path;
3-
use tree_sitter::{Parser, Query, QueryCursor};
2+
use tree_sitter::{Parser, Query, QueryCursor, StreamingIterator};
43

54
/// Represents a single capture from a query match
65
#[derive(Debug, serde::Serialize)]

0 commit comments

Comments
 (0)