Skip to content

Commit

Permalink
chore: only run serde snapshots when serde is enabled but in syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
V0ldek committed Dec 30, 2024
1 parent ce24fe3 commit a286f14
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/rsonpath-syntax/tests/query_serialization_snapshots.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use insta::assert_ron_snapshot;
use rsonpath_syntax::parse;

#[cfg(feature = "serde")]
mod ron {
use super::*;
use insta::assert_ron_snapshot;
use rsonpath_syntax::parse;
use std::error::Error;

#[test]
Expand Down

0 comments on commit a286f14

Please sign in to comment.