Skip to content

Commit

Permalink
add pretty_assertions back
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Nov 19, 2024
1 parent d6418c6 commit a619445
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tailcall-jq/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ indexmap = { workspace = true }
serde_json_borrow = { workspace = true }
nom = { workspace = true }
anyhow = { workspace = true }

[dev-dependencies]
pretty_assertions = "1.4.1"
1 change: 1 addition & 0 deletions tailcall-jq/src/jsonlike/json_like.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ pub trait JsonObjectLike<'obj>: Sized {
#[cfg(test)]
mod tests {
use crate::jsonlike::group_by_key;
use pretty_assertions::assert_eq;

Check failure on line 47 in tailcall-jq/src/jsonlike/json_like.rs

View workflow job for this annotation

GitHub Actions / Build and Test

unresolved import `pretty_assertions`
use serde_json::json;

use super::super::gather_path_matches;
Expand Down
2 changes: 2 additions & 0 deletions tailcall-jq/src/mustache/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ fn parse_mustache(input: &str) -> IResult<&str, Mustache> {

#[cfg(test)]
mod tests {
use pretty_assertions::assert_eq;

Check failure on line 88 in tailcall-jq/src/mustache/parse.rs

View workflow job for this annotation

GitHub Actions / Build and Test

unresolved import `pretty_assertions`

use crate::mustache::mustache::{Mustache, Segment};

#[test]
Expand Down

0 comments on commit a619445

Please sign in to comment.