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

scrabble-score: improve non-english letter tests #421

Merged

Conversation

coriolinus
Copy link
Member

Resolves #264.

Implements both of @dexterlemmer's proposals from that issue.

@coriolinus coriolinus changed the title scrabble-score: Update tests scrabble-score: improve non-english letter tests Jan 14, 2018
Copy link
Member

@petertseng petertseng left a comment

Choose a reason for hiding this comment

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

yup, it sure does.

optionally note the inconsistency and fix it before merging (no need to wait for me to look at it again if that's all that changes)

#[test]
#[ignore]
fn german_letters_do_not_score() {
assert_eq!(score("STRASSE"), 7, "\"SS\" should score 2.");
Copy link
Member

Choose a reason for hiding this comment

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

inconsistency: In all other lines added/modified in this PR, there was no trailing period, unlike this line which does.

Copy link
Member

@petertseng petertseng left a comment

Choose a reason for hiding this comment

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

since Travis was just the DENYWARNINGS, it's probably good now.

Resolves exercism#264.

Implements both of @dexterlemmer's proposals.
@coriolinus coriolinus force-pushed the scrabble-score-non-english-letters branch from 9b1a046 to e236762 Compare January 15, 2018 08:06
@coriolinus coriolinus merged commit af94bf8 into exercism:master Jan 15, 2018
@coriolinus coriolinus deleted the scrabble-score-non-english-letters branch January 15, 2018 08:34
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