Skip to content

Instantly share code, notes, and snippets.

@badboy
Created June 9, 2009 18:04
Show Gist options
  • Save badboy/126690 to your computer and use it in GitHub Desktop.
Save badboy/126690 to your computer and use it in GitHub Desktop.
1)
Math.atanh raises an Errno::EDOM if x = 1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1f936>.__script__ {} at spec/frozen/core/math/atanh_spec.rb:30
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/core/math/atanh_spec.rb:4
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
2)
Math.atanh raises an Errno::EDOM if x = -1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1f936>.__script__ {} at spec/frozen/core/math/atanh_spec.rb:34
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/core/math/atanh_spec.rb:4
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
3)
Process.setpriority sets the scheduling priority for a specified user FAILED
Expected false
to equal true
#<Object:0x1f9c4>.__script__ {} at spec/frozen/core/process/setpriority_spec.rb:75
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/core/process/setpriority_spec.rb:3
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
4)
Math#atanh raises an Errno::EDOM if x = 1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1fa0c>.__script__ {} at spec/frozen/library/complex/math/shared/atanh.rb:26
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/complex/math/atanh_spec.rb:4
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
5)
Math#atanh raises an Errno::EDOM if x = -1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1fa0c>.__script__ {} at spec/frozen/library/complex/math/shared/atanh.rb:30
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/complex/math/atanh_spec.rb:4
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
6)
Math#atanh! raises an Errno::EDOM if x = 1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1fa0c>.__script__ {} at spec/frozen/library/complex/math/shared/atanh.rb:72
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/complex/math/atanh_spec.rb:12
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
7)
Math#atanh! raises an Errno::EDOM if x = -1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1fa0c>.__script__ {} at spec/frozen/library/complex/math/shared/atanh.rb:76
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/complex/math/atanh_spec.rb:12
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
8)
Math.atanh raises an Errno::EDOM if x = 1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1fa0c>.__script__ {} at spec/frozen/library/complex/math/shared/atanh.rb:26
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/complex/math/atanh_spec.rb:20
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
9)
Math.atanh raises an Errno::EDOM if x = -1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1fa0c>.__script__ {} at spec/frozen/library/complex/math/shared/atanh.rb:30
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/complex/math/atanh_spec.rb:20
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
10)
Math.atanh! raises an Errno::EDOM if x = 1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1fa0c>.__script__ {} at spec/frozen/library/complex/math/shared/atanh.rb:72
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/complex/math/atanh_spec.rb:24
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
11)
Math.atanh! raises an Errno::EDOM if x = -1.0 FAILED
Expected EDOM
but got ERANGE (Numerical result out of range - Numerical result out of range)
#<Object:0x1fa0c>.__script__ {} at spec/frozen/library/complex/math/shared/atanh.rb:76
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/complex/math/atanh_spec.rb:24
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
12)
Date#civil doesn't blow up (illegal instruction and segfault, respectively) when fed huge numbers FAILED
Expected FloatDomainError but got FatalError (failed to allocate memory)
#<Object:0x1fc3e>.__script__ {} at spec/frozen/library/date/shared/civil.rb:72
Array#each at kernel/bootstrap/array_186.rb:9
#<Object:0x1fc3e>.__script__ {} at spec/frozen/library/date/shared/civil.rb:71
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Enumerable(Array)#all? {} at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
Enumerable(Array)#all? at kernel/common/enumerable.rb:266
Array#each at kernel/bootstrap/array_186.rb:9
main.__script__ at spec/frozen/library/date/civil_spec.rb:5
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.unified_load at kernel/compiler/compile.rb:89
Kernel.load at kernel/common/kernel.rb:674
Kernel(Object)#instance_eval at kernel/common/eval.rb:117
Array#each at kernel/bootstrap/array_186.rb:9
Rubinius::CompiledMethod#as_script at kernel/common/compiled_method.rb:146
Compiler::Utils.single_load at kernel/compiler/compile.rb:239
Compiler::Utils.load_from_extension at kernel/compiler/compile.rb:323
Object#__script__ at kernel/loader.rb:259
Finished in 271.168993 seconds
2709 files, 10679 examples, 33476 expectations, 12 failures, 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment