Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. /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
  2.  
  3. Randomized with seed 30243
  4. ...........................................1
  5. 2
  6. 3
  7. ......F..........oopsie
  8. .
  9.  
  10. Failures:
  11.  
  12. 1) Tapioca::Compilers::SymbolTableCompiler compile compiles extensions to core types
  13. Failure/Error:
  14. expect(
  15. compile(<<~RUBY)
  16. class Foo
  17. def to_s
  18. "Foo"
  19. end
  20. def bar
  21. "bar"
  22. end
  23. end
  24.  
  25. 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"
  26. 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)"
  27.  
  28. (compared using ==)
  29.  
  30. Diff:
  31. @@ -15,4 +15,6 @@
  32.  
  33. def to_foo(base = _); end
  34. end
  35. +
  36. +Integer::GMP_VERSION = T.let(T.unsafe(nil), String)
  37. # ./spec/tapioca/compilers/symbol_table_compiler_spec.rb:192:in `block (3 levels) in <top (required)>'
  38.  
  39. Finished in 26.85 seconds (files took 0.21576 seconds to load)
  40. 61 examples, 1 failure
  41.  
  42. Failed examples:
  43.  
  44. rspec ./spec/tapioca/compilers/symbol_table_compiler_spec.rb:168 # Tapioca::Compilers::SymbolTableCompiler compile compiles extensions to core types
  45.  
  46. Randomized with seed 30243
  47.  
  48. /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