further improvements to coursewares and bonfires

This commit is contained in:
Quincy Larson
2015-05-10 22:33:04 -07:00
parent d63b8f01be
commit 68962d4d82
5 changed files with 7 additions and 7 deletions

View File

@@ -9,10 +9,10 @@
} catch (err) {
allTestsGood = false;
thisTest = false;
parent.postError(JSON.stringify(tests[i].message));
parent.postError(JSON.stringify(err.message.split(':').shift()));
} finally {
if (thisTest) {
parent.postSuccess(JSON.stringify(tests[i]));
parent.postSuccess(JSON.stringify(tests[i].split(',').pop().replace(/\'/g, '').replace(/\)/, '')));
}
}
}