generated from tophat/new-project-kit
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
238 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 108 additions & 0 deletions
108
tests/syrupy/extensions/amber/__snapshots__/test_amber_snapshot_diff.ambr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# name: test_snapshot_diff | ||
dict({ | ||
'field_0': True, | ||
'field_1': 'no_value', | ||
'nested': dict({ | ||
'field_0': 1, | ||
}), | ||
}) | ||
# --- | ||
# name: test_snapshot_diff.1 | ||
... | ||
- 'field_1': 'no_value', | ||
+ 'field_1': 'yes_value', | ||
... | ||
# --- | ||
# name: test_snapshot_diff.2 | ||
... | ||
- 'field_1': 'no_value', | ||
+ 'field_1': 'yes_value', | ||
... | ||
- 'field_0': 1, | ||
+ 'field_0': 2, | ||
... | ||
# --- | ||
# name: test_snapshot_diff_id.1 | ||
... | ||
- 'field_1': 'no_value', | ||
+ 'field_1': 'yes_value', | ||
... | ||
- True, | ||
... | ||
- None, | ||
+ False, | ||
... | ||
- 'no', | ||
+ 'yes', | ||
- False, | ||
+ 0, | ||
... | ||
# --- | ||
# name: test_snapshot_diff_id[case3] | ||
... | ||
- 'field_0': True, | ||
+ 'field_0': 2, | ||
... | ||
- 'field_0': True, | ||
+ 'field_0': 2, | ||
... | ||
# --- | ||
# name: test_snapshot_diff_id[large snapshot] | ||
dict({ | ||
'field_0': True, | ||
'field_1': 'no_value', | ||
'field_2': 0, | ||
'field_3': None, | ||
'field_4': 1, | ||
'field_5': False, | ||
'field_6': tuple( | ||
True, | ||
'hey', | ||
2, | ||
None, | ||
), | ||
'field_7': set({ | ||
'no', | ||
False, | ||
None, | ||
}), | ||
'nested_0': dict({ | ||
'field_0': True, | ||
'field_1': 'no_value', | ||
'field_2': 0, | ||
'field_3': None, | ||
'field_4': 1, | ||
'field_5': False, | ||
'field_6': tuple( | ||
True, | ||
'hey', | ||
2, | ||
None, | ||
), | ||
'field_7': set({ | ||
'no', | ||
False, | ||
None, | ||
}), | ||
}), | ||
'nested_1': dict({ | ||
'field_0': True, | ||
'field_1': 'no_value', | ||
'field_2': 0, | ||
'field_3': None, | ||
'field_4': 1, | ||
'field_5': False, | ||
'field_6': tuple( | ||
True, | ||
'hey', | ||
2, | ||
None, | ||
), | ||
'field_7': set({ | ||
'no', | ||
False, | ||
None, | ||
}), | ||
}), | ||
}) | ||
# --- |
Oops, something went wrong.