Skip to content

Commit

Permalink
Add test for inline snapshot with a debug expr (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Sep 27, 2024
1 parent 3df8685 commit 6284046
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions insta/tests/test_inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ fn test_newline() {
"###);
}

#[test]
fn test_inline_debug_expr() {
assert_snapshot!("hello", "a debug expr", @"hello");
}

#[cfg(feature = "csv")]
#[test]
fn test_csv_inline() {
Expand Down

0 comments on commit 6284046

Please sign in to comment.