running 1 test Class : OK Class#initialize : ERROR: Class#new must be called from class Class#initialize_copy : ERROR: Method not found: undefined method `dup` for TestClass Class#new : assertion failed: Singleton should raise TypeError expected exception, but nothing was raised ERROR: Method not found: undefined method `!` for FalseClass Class#superclass : ERROR: Method not found: undefined method `superclass` for Class Class 1 : OK Class 2 : OK Class 3 : OK Class 4 : OK Class 5 : OK Class 6 : OK Class 7 : assertion failed: expected exception, but nothing was raised FAIL Class 8 : assertion failed: expected exception, but nothing was raised FAIL Class 9 : assertion failed: expected exception, but nothing was raised FAIL Class Module 1 : OK Class Module 2 : OK Class Nested 1 : ERROR: Cannot found name: B Class Nested 2 : ERROR: Cannot found name: B Class Nested 3 : ERROR: Cannot found name: B Class Nested 4 : ERROR: Cannot found name: B Class Nested 5 : ERROR: Cannot found name: B Class Nested 6 : ERROR: Cannot found name: B Class Nested 7 : ERROR: Cannot found name: B Class Nested 8 : ERROR: Cannot found name: B Class Colon 1 : OK Class Colon 2 : OK Class Colon 3 : OK Class Dup 1 : ERROR: Method not found: undefined method `dup` for Class Class Dup 2 : ERROR: Method not found: undefined method `dup` for Module Class.new : ERROR: Module#inspect must be called from module or class class to return the last value : OK class to return nil if body is empty : OK raise when superclass is not a class : assertion failed: should raise TypeError expected exception, but nothing was raised assertion failed: should raise TypeError expected exception, but nothing was raised assertion failed: should raise TypeError expected exception, but nothing was raised FAIL Class#inherited : assertion failed: expected Bar, actual nil assertion failed: expected Baz, actual nil FAIL singleton tests : ERROR: Method not found: undefined method `const_defined?` for Class clone Class : ERROR: Method not found: undefined method `clone` for Class class definition in singleton class : OK class variable and class << self style class method : OK class variable definition in singleton_class : ERROR: Cannot found name: uninitialized class variable @@class_variable class variable in module and class << self style class method : ERROR: Type mismatch child class/module defined in singleton class get parent constant : ERROR: Cannot found name: EXPECT overriding class variable with a module (#3235) : assertion failed: expected 1, actual 2 FAIL class variable for frozen class/module : ERROR: Method not found: undefined method `freeze` for Module class with non-class/module outer raises TypeError : assertion failed: expected exception, but nothing was raised assertion failed: expected exception, but nothing was raised FAIL module with extended callback : ERROR: Type mismatch inherited hook runs before block body : ERROR: Method not found: undefined method `values` for Class inherited hook runs before class body : ERROR: Method not found: undefined method `values` for Class a visibility change makes the method table it needs : assertion failed: Method not found: undefined method `protected` for Class assertion failed: Method not found: undefined method `private` for Class assertion failed: ERROR: Cannot found name: FrozenError a `def` in a method written in a block given a class adds to that class : ERROR: Class#new must be called from class OK: 16, FAIL: 7, ERROR: 26, WARN: 0, SKIP: 0, STRESS: 0 thread 'spec_class' (2464) panicked at mrubyedge/tests/mruby_spec/mod.rs:78:5: class.rb: upstream assertions failed note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace test spec_class ... FAILED failures: failures: spec_class test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 49 filtered out; finished in 0.01s