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

test failures #157

Open
wwood opened this issue Jan 1, 2016 · 0 comments
Open

test failures #157

wwood opened this issue Jan 1, 2016 · 0 comments

Comments

@wwood
Copy link

wwood commented Jan 1, 2016

Hi,

I'm attempting to package yajl-ruby for the GNU Guix package manager, and I'm running into these two test errors, working from master. I believe that's because they seem to expect yajl to be installed already, perhaps. Am I doing something untoward?

Thanks. ben.

$ rake spec
[..]
Failures:

  1) Parsing very long text when parseing big floats runs successfully
     Failure/Error: expect([err, status.exitstatus]).to eq(['', 0])

       expected: ["", 0]
            got: ["/gnu/store/15i5z93xj8v1myqdh5d4d3apqyqzlnza-ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- yajl (LoadError)\n\tfrom /gnu/store/15i5z93xj8v1myqdh5d4d3apqyqzlnza-ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\n\tfrom -:1:in `<main>'\n", 1]

       (compared using ==)
     Shared Example Group: "running script successfully" called from ./spec/parsing/large_number_spec.rb:48
     # ./spec/parsing/large_number_spec.rb:43:in `block (3 levels) in <top (required)>'

  2) Parsing very long text when parseing long hash key with symbolize_keys option runs successfully
     Failure/Error: expect([err, status.exitstatus]).to eq(['', 0])

       expected: ["", 0]
            got: ["/gnu/store/15i5z93xj8v1myqdh5d4d3apqyqzlnza-ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- yajl (LoadError)\n\tfrom /gnu/store/15i5z93xj8v1myqdh5d4d3apqyqzlnza-ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\n\tfrom -:1:in `<main>'\n", 1]

       (compared using ==)
     Shared Example Group: "running script successfully" called from ./spec/parsing/large_number_spec.rb:55
     # ./spec/parsing/large_number_spec.rb:43:in `block (3 levels) in <top (required)>'

Finished in 0.60976 seconds (files took 0.2442 seconds to load)
411 examples, 2 failures
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

No branches or pull requests

1 participant