feat(cli): rework query to use new input handler
Co-authored-by: Will Lillis <will.lillis24@gmail.com>
This commit is contained in:
parent
6bad1bc6c5
commit
88d2f010f5
3 changed files with 189 additions and 108 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use std::fs;
|
||||
use std::{fs, path::Path};
|
||||
|
||||
use anyhow::{anyhow, Result};
|
||||
use bstr::{BStr, ByteSlice};
|
||||
|
|
@ -224,7 +224,7 @@ pub fn parse_position_comments(
|
|||
|
||||
pub fn assert_expected_captures(
|
||||
infos: &[CaptureInfo],
|
||||
path: &str,
|
||||
path: &Path,
|
||||
parser: &mut Parser,
|
||||
language: &Language,
|
||||
) -> Result<usize> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue