Skip to content

Commit fc6964f

Browse files
- very small typo fix (#64)
1 parent a07c7b6 commit fc6964f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
//! fn test(){
9090
//! let finder = JsonPathFinder::from_str(r#"{"first":{"second":[{"active":1},{"passive":1}]}}"#, "$.first.second[?(@.active)]").unwrap();
9191
//! let slice_of_data:Vec<JsonPathValue<Value>> = finder.find_slice();
92-
//! let js = json!({"active":2});
92+
//! let js = json!({"active":1});
9393
//! assert_eq!(slice_of_data, jp_v![&js;"$.first.second[0]",]);
9494
//! }
9595
//! ```

0 commit comments

Comments
 (0)