diff graal/com.oracle.truffle.ruby.test/specs/tags/language/yield_tags.txt @ 13514:0fbee3eb71f0

Ruby: import project.
author Chris Seaton <chris.seaton@oracle.com>
date Mon, 06 Jan 2014 17:12:09 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/graal/com.oracle.truffle.ruby.test/specs/tags/language/yield_tags.txt	Mon Jan 06 17:12:09 2014 +0000
@@ -0,0 +1,21 @@
+fails:The yield call taking no arguments raises a LocalJumpError when the method is not passed a block
+fails:The yield call taking no arguments ignores assignment to the explicit block argument and calls the passed block
+fails:The yield call taking a single argument raises a LocalJumpError when the method is not passed a block
+fails:The yield call taking a single argument passes an empty Array when the argument is an empty Array
+fails:The yield call taking a single argument passes nil as a value
+fails:The yield call taking a single argument passes a single value
+fails:The yield call taking a single argument passes a single, multi-value Array
+fails:The yield call taking multiple arguments raises a LocalJumpError when the method is not passed a block
+fails:The yield call taking multiple arguments passes the arguments to the block
+fails:The yield call taking a single splatted argument raises a LocalJumpError when the method is not passed a block
+fails:The yield call taking a single splatted argument passes a single value
+fails:The yield call taking a single splatted argument passes no arguments when the argument is an empty Array
+fails:The yield call taking a single splatted argument passes the value when the argument is an Array containing a single value
+fails:The yield call taking a single splatted argument passes the values of the Array as individual arguments
+fails:The yield call taking a single splatted argument passes the element of a single element Array
+fails:The yield call taking a single splatted argument passes no values when give nil as an argument
+fails:The yield call taking multiple arguments with a splat raises a LocalJumpError when the method is not passed a block
+fails:The yield call taking multiple arguments with a splat passes the arguments to the block
+fails:The yield call taking multiple arguments with a splat does not pass an argument value if the splatted argument is an empty Array
+fails:The yield call taking multiple arguments with a splat passes the Array elements as arguments if the splatted argument is a non-empty Array
+fails:The yield call taking multiple arguments with a splat does not pass an argument value if the splatted argument is nil