Bug 676556 - GCLI requirejs tests log when they shouldn't; r=rcampbell

This commit is contained in:
Joe Walker 2011-08-05 09:59:20 -03:00
Родитель 42502a15ad
Коммит 236e1845cf
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -107,11 +107,11 @@ function testUncompilable() {
// modules, however at least it should go into a flat spin ... // modules, however at least it should go into a flat spin ...
// GCLI mini_require reports an error as it should // GCLI mini_require reports an error as it should
try { try {
let unrequireable = require('gclitest/unrequirable'); let unrequireable = require('gclitest/unrequirable');
fail(); fail();
} }
catch (ex) { catch (ex) {
console.log(ex); // an exception is expected
} }
} }