From 65f3aa5476b8633a56b3834575dae3deda730e7a Mon Sep 17 00:00:00 2001 From: jashan <20891087+jashanbhullar@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:38:35 +0530 Subject: [PATCH] - very small typo fix --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 215f613..e89b75d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -89,7 +89,7 @@ //! fn test(){ //! let finder = JsonPathFinder::from_str(r#"{"first":{"second":[{"active":1},{"passive":1}]}}"#, "$.first.second[?(@.active)]").unwrap(); //! let slice_of_data:Vec> = finder.find_slice(); -//! let js = json!({"active":2}); +//! let js = json!({"active":1}); //! assert_eq!(slice_of_data, jp_v![&js;"$.first.second[0]",]); //! } //! ```