mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 996848 - Change expectAssertion() in tests because of removed assertion. r=spohl
This commit is contained in:
parent
3836ce17c9
commit
750833b597
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=406375
|
||||
<script type="application/javascript">
|
||||
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(2);
|
||||
SimpleTest.expectAssertions(1);
|
||||
}
|
||||
|
||||
/** Test for Bug 406375 **/
|
||||
|
@ -11,9 +11,7 @@
|
||||
|
||||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(4);
|
||||
} else {
|
||||
if (!navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0,1);
|
||||
}
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
Loading…
x
Reference in New Issue
Block a user