Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n: fix multi-directory collision checking #12698

Closed
wants to merge 1 commit into from
Closed

Conversation

brendankenny
Copy link
Member

this was my TODO in https://github.com/GoogleChrome/lighthouse/pull/12441/files#r630521367 that I forgot (once again proving you should never leave a TODO to do an issue's job :)

The fix is really simple but as I was opening github to open this PR I just noticed @connorjclark's #12697 🤔

@brendankenny brendankenny requested a review from a team as a code owner June 25, 2021 00:25
@brendankenny brendankenny requested review from connorjclark and removed request for a team June 25, 2021 00:25
@google-cla google-cla bot added the cla: yes label Jun 25, 2021
}

if (collisions > 0) {
console.log(`MEANING COLLISION: ${collisions} string(s) have the same content.`);
assert.equal(collisions, 30, `The number of duplicate strings have changed, update this assertion if that is expected, or reword strings. Collisions: ${collisionStrings.join('\n')}`);
assert.equal(collisions, 32, `The number of duplicate strings have changed, update this assertion if that is expected, or reword strings. Collisions: ${collisionStrings.join('\n')}`);
Copy link
Member Author

Choose a reason for hiding this comment

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

this is +2 for the collision between "lighthouse-treemap/app/src/util.js | tableColumnName" and "lighthouse-core/lib/i18n/i18n.js | columnName" we didn't add in #12441

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants