JavaScript Test - update test to catch appropriate exception, bug 352605
git-svn-id: svn://10.0.0.236/trunk@211766 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3512284d55
commit
99dfbc17d8
@ -50,8 +50,16 @@ function test()
|
||||
enterFunc ('test');
|
||||
printBugNumber (bug);
|
||||
printStatus (summary);
|
||||
|
||||
(function() { <y/>.(<x/>.(false), (yield 3)) })().next();
|
||||
|
||||
expect = 'InternalError: yield not yet supported from filtering predicate';
|
||||
try
|
||||
{
|
||||
(function() { <y/>.(<x/>.(false), (yield 3)) })().next();
|
||||
}
|
||||
catch(ex)
|
||||
{
|
||||
actual = ex + '';
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user