Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /Users/USER/.rvm/rubies/ruby-2.6.4/bin/ruby -I/Users/USER/.rvm/gems/ruby-2.6.4@ruby2.6-no-rails-tapioca/gems/rspec-core-3.8.2/lib:/Users/USER/.rvm/gems/ruby-2.6.4@ruby2.6-no-rails-tapioca/gems/rspec-support-3.8.2/lib /Users/USER/.rvm/gems/ruby-2.6.4@ruby2.6-no-rails-tapioca/gems/rspec-core-3.8.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
- Randomized with seed 30243
- ...........................................1
- 2
- 3
- ......F..........oopsie
- .
- Failures:
- 1) Tapioca::Compilers::SymbolTableCompiler compile compiles extensions to core types
- Failure/Error:
- expect(
- compile(<<~RUBY)
- class Foo
- def to_s
- "Foo"
- end
- def bar
- "bar"
- end
- end
- expected: "class Foo\n def bar; end\n def to_s; end\nend\n\nclass Hash\n include(::JSON::Ext::Generator::Gen...c\n include(::JSON::Ext::Generator::GeneratorMethods::Integer)\n\n def to_foo(base = _); end\nend"
- got: "class Foo\n def bar; end\n def to_s; end\nend\n\nclass Hash\n include(::JSON::Ext::Generator::Gen...Integer)\n\n def to_foo(base = _); end\nend\n\nInteger::GMP_VERSION = T.let(T.unsafe(nil), String)"
- (compared using ==)
- Diff:
- @@ -15,4 +15,6 @@
- def to_foo(base = _); end
- end
- +
- +Integer::GMP_VERSION = T.let(T.unsafe(nil), String)
- # ./spec/tapioca/compilers/symbol_table_compiler_spec.rb:192:in `block (3 levels) in <top (required)>'
- Finished in 26.85 seconds (files took 0.21576 seconds to load)
- 61 examples, 1 failure
- Failed examples:
- rspec ./spec/tapioca/compilers/symbol_table_compiler_spec.rb:168 # Tapioca::Compilers::SymbolTableCompiler compile compiles extensions to core types
- Randomized with seed 30243
- /Users/USER/.rvm/rubies/ruby-2.6.4/bin/ruby -I/Users/USER/.rvm/gems/ruby-2.6.4@ruby2.6-no-rails-tapioca/gems/rspec-core-3.8.2/lib:/Users/USER/.rvm/gems/ruby-2.6.4@ruby2.6-no-rails-tapioca/gems/rspec-support-3.8.2/lib /Users/USER/.rvm/gems/ruby-2.6.4@ruby2.6-no-rails-tapioca/gems/rspec-core-3.8.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement