Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Auto-grading polish #435

Merged
merged 2 commits into from
Aug 6, 2015
Merged

Auto-grading polish #435

merged 2 commits into from
Aug 6, 2015

Conversation

dariusf
Copy link
Contributor

@dariusf dariusf commented Aug 5, 2015

Fixes false negatives with spaces and case. Also adds support for pluralisation.

it 'should match sentence fragments' do
match 'This is a test.', 'test'
match 'This is a test.', 'this'
match 'This is a test.', 'is a'

Choose a reason for hiding this comment

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

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Matches are now case-insensitive, allow spaces in words, and will take
both singular and plural forms into account.
@dariusf dariusf force-pushed the dariusf/auto-grading-polish branch from ee348e5 to 52b8903 Compare August 5, 2015 11:21
allenwq pushed a commit that referenced this pull request Aug 6, 2015
@allenwq allenwq merged commit d8d107e into development Aug 6, 2015
@allenwq allenwq deleted the dariusf/auto-grading-polish branch August 6, 2015 06:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants