Fixed async local storage

This commit is contained in:
Nick Lockwood
2015-06-23 14:17:31 -07:00
parent 47508566a0
commit 0624a0fe52
2 changed files with 30 additions and 17 deletions

View File

@@ -54,6 +54,9 @@ function expectEqual(lhs, rhs, testname) {
}
function expectAsyncNoError(place, err) {
if (err instanceof Error) {
err = err.message;
}
expectTrue(err === null, 'Unexpected error in ' + place + ': ' + JSON.stringify(err));
}