Skip to content

Test for duplicate icon names and fail when two icons have the same name#322

Merged
jonrohan merged 9 commits intorelease-9.1.1from
duplicate_icons
Jun 21, 2019
Merged

Test for duplicate icon names and fail when two icons have the same name#322
jonrohan merged 9 commits intorelease-9.1.1from
duplicate_icons

Conversation

@jonrohan
Copy link
Copy Markdown
Member

@jonrohan jonrohan commented Jun 20, 2019

Caveat: This isn't currently failing because the data being output needs massaging. We're currently using a sha'd version of the exporter because I haven't had time to adjust the build processes for data structure changes.

When this does work it will go through each icon and test if there's another icon with the same name but different figma id. When that happens it will fail.

@jonrohan jonrohan changed the title WIP Test for duplicate icon names and fail when two icons have the same name Jun 20, 2019
@jonrohan jonrohan marked this pull request as ready for review June 20, 2019 20:09
Comment thread tests/index.js Outdated
Comment thread tests/index.js Outdated
Copy link
Copy Markdown
Contributor

@shawnbot shawnbot left a comment

Choose a reason for hiding this comment

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

I just had a couple of very minor suggestions; otherwise this looks good. Thanks for adding this!

@jonrohan jonrohan changed the base branch from master to release-9.1.1 June 21, 2019 05:49
@jonrohan jonrohan merged commit 5e0d1ea into release-9.1.1 Jun 21, 2019
@jonrohan jonrohan deleted the duplicate_icons branch June 21, 2019 05:58
@ashygee ashygee mentioned this pull request Jun 21, 2019
2 tasks
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