Skip to content

It failed to pass RSpec. #44

@veer66

Description

@veer66

I ran

bundle exec rake

and the result was as follow.

/home/vee/bin/ruby -S rspec ./spec/edn/char_stream_spec.rb ./spec/edn/metadata_spec.rb ./spec/edn/parser_spec.rb ./spec/edn/reader_spec.rb ./spec/edn_spec.rb
/home/vee/Develop/free/edn-ruby-spec/lib/edn/core_ext.rb:97: warning: constant ::Bignum is deprecated
Run options: include {:focus=>true, :focused=>true}

All examples were filtered out; ignoring {:focus=>true, :focused=>true}
..F

Failures:

  1) EDN::CharStream knows if the current char is a digit
     Failure/Error: s.digit?.should be_truthy
     NoMethodError:
       undefined method `truthy?' for 0:Integer
     # ./spec/edn/char_stream_spec.rb:22:in `block (2 levels) in <top (required)>'

Finished in 0.0011 seconds
3 examples, 1 failure

Failed examples:

rspec ./spec/edn/char_stream_spec.rb:20 # EDN::CharStream knows if the current char is a digit
rake aborted!
/home/vee/bin/ruby -S rspec ./spec/edn/char_stream_spec.rb ./spec/edn/metadata_spec.rb ./spec/edn/parser_spec.rb ./spec/edn/reader_spec.rb ./spec/edn_spec.rb failed
/home/vee/Develop/free/edn-ruby-spec/vendor/ruby/2.5.0/gems/rspec-core-2.11.1/lib/rspec/core/rake_task.rb:137:in `block (2 levels) in initialize'
/home/vee/Develop/free/edn-ruby-spec/vendor/ruby/2.5.0/gems/rspec-core-2.11.1/lib/rspec/core/rake_task.rb:127:in `block in initialize'
/home/vee/bin/bundle:23:in `load'
/home/vee/bin/bundle:23:in `<main>'
Tasks: TOP => default => spec
(See full trace by running task with --trace)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions