Skip to content

Conversation

@m-ysk
Copy link

@m-ysk m-ysk commented Nov 7, 2020

Closes #6455

This PR removes some redundant tests around convert_integer_literal.

First, it removes test cases about converting integer with underscores except for just one case. This is because the process of removing of underscores in given integer literals is independent from radix.

Second, as well as underscore cases, it removes test cases about converting integer with suffix except for just one case. This is because the process of handling suffix is independent from radix.

Finally, it removes small decimal integer cases. This is because "special case where they return early" has been removed by the PR #6482, so we have no need to retain this cases.

@matklad
Copy link
Contributor

matklad commented Nov 7, 2020

Perfect, thanks!

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 7, 2020

@bors bors bot merged commit 1b14730 into rust-lang:master Nov 7, 2020
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.

Minimize convert_integer_literal tests

2 participants