Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649258 - dev-ruby/did_you_mean-1.2.0: 2 tests fail
Summary: dev-ruby/did_you_mean-1.2.0: 2 tests fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 18:37 UTC by Michał Górny
Modified: 2018-04-03 05:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-ruby:did_you_mean-1.2.0:20180301-183633.log (dev-ruby:did_you_mean-1.2.0:20180301-183633.log,5.86 KB, text/plain)
2018-03-01 18:37 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-01 18:37:48 UTC
Created attachment 521740 [details]
dev-ruby:did_you_mean-1.2.0:20180301-183633.log

>>> Test phase: dev-ruby/did_you_mean-1.2.0
 * Running test phase for ruby25 ...
/usr/bin/ruby25 -w -I"lib:test" -I"/usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib" "/usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.0/lib/rake/rake_test_loader.rb" "test/verbose_formatter_test.rb" "test/spell_checking/variable_name_check_test.rb" "test/spell_checking/uncorrectable_name_check_test.rb" "test/spell_checking/method_name_check_test.rb" "test/spell_checking/key_name_check_test.rb" "test/spell_checking/class_name_check_test.rb" "test/spell_checker_test.rb" "test/edit_distance/jaro_winkler_test.rb" "test/core_ext/name_error_extension_test.rb" 
DidYouMean version: 1.2.0
/tmp/portage/dev-ruby/did_you_mean-1.2.0/work/ruby25/did_you_mean-1.2.0/test/spell_checking/variable_name_check_test.rb:61: warning: assigned but unused variable - some_var
Run options: --seed 34082

# Running:

....E.....................E..............

Fabulous run in 0.206339s, 198.7024 runs/s, 804.5025 assertions/s.

  1) Error:
VerboseFormatterTest#test_message:
NoMethodError: undefined method `call' for nil:NilClass
    /tmp/portage/dev-ruby/did_you_mean-1.2.0/work/ruby25/did_you_mean-1.2.0/test/verbose_formatter_test.rb:17:in `test_message'

  2) Error:
NameErrorExtensionTest#test_message:
NoMethodError: undefined method `call' for nil:NilClass
    /tmp/portage/dev-ruby/did_you_mean-1.2.0/work/ruby25/did_you_mean-1.2.0/test/core_ext/name_error_extension_test.rb:23:in `test_message'

41 runs, 166 assertions, 0 failures, 2 errors, 0 skips
rake aborted!
Comment 1 Larry the Git Cow gentoo-dev 2018-04-03 05:44:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8a45535d7a107aa84a4c7f8b3239cec88d1b252

commit d8a45535d7a107aa84a4c7f8b3239cec88d1b252
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-04-03 05:44:33 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-04-03 05:44:33 +0000

    dev-ruby/did_you_mean: add 1.2.1
    
    Closes: https://bugs.gentoo.org/649258
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/did_you_mean/Manifest                  |  1 +
 dev-ruby/did_you_mean/did_you_mean-1.2.1.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)