Skip to content

Commit 82b6ba0

Browse files
committed
try to ignore varying integers
1 parent d7921e3 commit 82b6ba0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test_utils/insta.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub fn settings() -> insta::Settings {
2222
r"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
2323
"UUID",
2424
);
25+
settings.add_filter(r"\d+\.\.\d+", "<int>..<int>");
2526

2627
settings
2728
}

0 commit comments

Comments
 (0)