Adding another case to test.

This commit is contained in:
pschwartau%netscape.com 2001-11-10 02:46:24 +00:00
parent 9ae226ea81
commit 267f1d9202

View File

@ -63,6 +63,34 @@ captureThis();
function tryThis()
{
var sum = 4 ;
var i = 0;
while (sum < 10)
{
try
{
sum += 1;
i += 1;
}
finally
{
print("In finally case of testThis() function");
}
}
return i;
}
status = inSection(2);
actual = tryThis();
expect = 6;
captureThis();
//-----------------------------------------------------------------------------
test();
//-----------------------------------------------------------------------------