comparison graal/com.oracle.truffle.ruby.test/specs/tags/language/case_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
comparison
equal deleted inserted replaced
13513:64a23ce736a0 13514:0fbee3eb71f0
1 fails:The 'case'-construct evaluates the body of the when clause matching the case target expression
2 fails:The 'case'-construct evaluates the body of the when clause whose array expression includes the case target expression
3 fails:The 'case'-construct evaluates the body of the when clause in left-to-right order if it's an array expression
4 fails:The 'case'-construct evaluates the body of the when clause whose range expression includes the case target expression
5 fails:The 'case'-construct expands arrays to lists of values
6 fails:The 'case'-construct concats arrays before expanding them
7 fails:The 'case'-construct never matches when clauses with no values
8 fails:The 'case'-construct works even if there's only one when statement
9 fails:The 'case'-construct with no target expression evaluates true as only 'true' when true is the first clause
10 fails:The 'case'-construct with no target expression evaluates false as only 'false' when false is the first clause
11 fails:The 'case'-construct with no target expression treats a literal array as its own when argument, rather than a list of arguments
12 fails:The 'case'-construct takes multiple expanded arrays