Skip to content

Commit e49fd57

Browse files
committed
Reduce path of snapshot file so that allowed by windows filesystem
1 parent f5a7d3d commit e49fd57

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

crates/matrix-sdk-common/src/deserialized_responses.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,9 @@ mod tests {
14001400
]),
14011401
};
14021402

1403-
assert_json_snapshot!(info)
1403+
with_settings!({prepend_module_to_snapshot => false}, {
1404+
assert_json_snapshot!("AlgorithmInfo__MegolmV1AesSha2", info)
1405+
});
14041406
}
14051407

14061408
#[test]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
source: crates/matrix-sdk-common/src/deserialized_responses.rs
33
expression: info
4+
snapshot_kind: text
45
---
56
{
67
"MegolmV1AesSha2": {

0 commit comments

Comments
 (0)