JavaScript Test - update test to catch appropriate exception, bug 352605

This commit is contained in:
bclary%bclary.com 2006-09-15 02:31:47 +00:00
parent bbd59a6e1d
commit 993d6edc5a

View File

@ -51,7 +51,15 @@ function 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);