Skip to content

Change file name pattern for snap files - #852

Merged
Y-Nak merged 1 commit into
argotorg:masterfrom
cburgdorf:christoph/snap_filename
Feb 28, 2023
Merged

Change file name pattern for snap files#852
Y-Nak merged 1 commit into
argotorg:masterfrom
cburgdorf:christoph/snap_filename

Conversation

@cburgdorf

Copy link
Copy Markdown
Collaborator

What was wrong?

The snap file name pattern was recently tweaked but it resulted in file names with double quotes such as fe_compiler_tests__features__aug_assign@"bit_xor".snap those file names are illegal on windows and hence also incompatible with cargo package

How was it fixed?

Tweaked it further so that fe_compiler_tests__features__aug_assign@"bit_xor".snap becomes fe_compiler_tests__features__aug_assign@bit_xor.snap

@@ -1,5 +1,6 @@
---
source: crates/tests/src/features.rs
assertion_line: 1779

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not exactly sure why assertion_line wasn't part of the file before but it came up as I regenerated the files.

@cburgdorf
cburgdorf requested a review from Y-Nak February 28, 2023 10:54

@Y-Nak Y-Nak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
BTW, I think it's about time to consider another way to record gas usage. Using insta for this purpose is not so good. @g-r-a-n-t

@Y-Nak
Y-Nak merged commit f62afac into argotorg:master Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants