Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
schungx committed Mar 4, 2024
1 parent 34bede9 commit b70c893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/parse_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ mod with_metadata {
.unwrap_err();

assert!(matches!(err.as_ref(), EvalAltResult::ErrorRuntime(msg, pos)
if msg.is_string() && *pos == Position::new(1, 7)));
if msg.is_string() && *pos == Position::new(2, 17)));
}

#[test]
Expand Down

0 comments on commit b70c893

Please sign in to comment.