зеркало из https://github.com/mozilla/gecko-dev.git
Bug 676556 - GCLI requirejs tests log when they shouldn't; r=rcampbell
This commit is contained in:
Родитель
42502a15ad
Коммит
236e1845cf
|
@ -107,11 +107,11 @@ function testUncompilable() {
|
|||
// modules, however at least it should go into a flat spin ...
|
||||
// GCLI mini_require reports an error as it should
|
||||
try {
|
||||
let unrequireable = require('gclitest/unrequirable');
|
||||
fail();
|
||||
let unrequireable = require('gclitest/unrequirable');
|
||||
fail();
|
||||
}
|
||||
catch (ex) {
|
||||
console.log(ex);
|
||||
// an exception is expected
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче