mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Adding two new cases to the test.
This commit is contained in:
parent
a39f79907f
commit
d0f11628fb
@ -98,6 +98,20 @@ expect = TYPE_OBJECT;
|
||||
addThis();
|
||||
|
||||
|
||||
// Let's try calling F1 without providing a parameter -
|
||||
status = 'Section 5 of test';
|
||||
actual = F1();
|
||||
expect = undefined;
|
||||
addThis();
|
||||
|
||||
|
||||
// Let's try calling F1 with too many parameters -
|
||||
status = 'Section 6 of test';
|
||||
actual = F1(3,33,333);
|
||||
expect = 3;
|
||||
addThis();
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
test();
|
||||
|
Loading…
Reference in New Issue
Block a user