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

add test case #58

Merged
merged 1 commit into from
Dec 14, 2015
Merged

add test case #58

merged 1 commit into from
Dec 14, 2015

Conversation

tonytonyjan
Copy link
Contributor

FYI

did_you_mean $ env TEST=test/edit_distance/jaro_winkler_test.rb rake test
/Users/tonytonyjan/.rbenv/versions/2.2.3/bin/ruby -w -I"lib:test"  "/Users/tonytonyjan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/edit_distance/jaro_winkler_test.rb"
Run options: --seed 58520

# Running:

.F

Finished in 0.001189s, 1681.4240 runs/s, 12610.6797 assertions/s.

  1) Failure:
JaroWinklerTest#test_jaro_winkler_distance [/Users/tonytonyjan/Dropbox/codes/gems/did_you_mean/test/edit_distance/jaro_winkler_test.rb:16]:
Expected: 1.0
  Actual: 0.0

2 runs, 15 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test"  "/Users/tonytonyjan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/edit_distance/jaro_winkler_test.rb" ]

Tasks: TOP => test
(See full trace by running task with --trace)

FYI

```
did_you_mean (master|●1) $ env TEST=test/edit_distance/jaro_winkler_test.rb rake test
/Users/tonytonyjan/.rbenv/versions/2.2.3/bin/ruby -w -I"lib:test"  "/Users/tonytonyjan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/edit_distance/jaro_winkler_test.rb"
Run options: --seed 58520

.F

Finished in 0.001189s, 1681.4240 runs/s, 12610.6797 assertions/s.

  1) Failure:
JaroWinklerTest#test_jaro_winkler_distance [/Users/tonytonyjan/Dropbox/codes/gems/did_you_mean/test/edit_distance/jaro_winkler_test.rb:16]:
Expected: 1.0
  Actual: 0.0

2 runs, 15 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test"  "/Users/tonytonyjan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/edit_distance/jaro_winkler_test.rb" ]

Tasks: TOP => test
(See full trace by running task with --trace)
```
yuki24 added a commit that referenced this pull request Dec 14, 2015
@yuki24 yuki24 merged commit b2e4b3c into ruby:master Dec 14, 2015
@yuki24
Copy link
Member

yuki24 commented Dec 14, 2015

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants