Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Fixed issue #59 - "partial" parameter for _token_set() is now honored #60

Merged
merged 1 commit into from
Oct 22, 2014

Conversation

ojomio
Copy link
Contributor

@ojomio ojomio commented Oct 22, 2014

No description provided.

@josegonzalez
Copy link
Contributor

Can you add a test for this?

@ojomio
Copy link
Contributor Author

ojomio commented Oct 22, 2014

fixed test which previously checked not partial comparison

@@ -129,7 +130,7 @@ def testTokenSetRatio(self):
self.assertEqual(fuzz.token_set_ratio(self.s4, self.s5), 100)

def testPartialTokenSetRatio(self):
self.assertEqual(fuzz.token_set_ratio(self.s4, self.s5), 100)
self.assertEqual(fuzz.partial_token_set_ratio(self.s4, self.s7), 100)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not keep the old test as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because it didn't actually check partial_token_set_ratio? There is previous test to test token_set_ratio

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I see.

josegonzalez added a commit that referenced this pull request Oct 22, 2014
Fixed issue #59 - "partial" parameter for `_token_set()` is now honored
@josegonzalez josegonzalez merged commit b389149 into seatgeek:master Oct 22, 2014
@josegonzalez
Copy link
Contributor

Thanks for being patient! I'll make a release right now :)

@ojomio
Copy link
Contributor Author

ojomio commented Oct 22, 2014

Thank you, you're the owner, may check as thoroughly as you please)

@josegonzalez
Copy link
Contributor

Just made a release!

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.

2 participants