diff options
| author | Vojta Jina | 2012-03-04 00:53:02 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-03-05 10:41:51 -0800 |
| commit | 4f797fe5f38cab06d1bb9c946cd39ce31aaa2483 (patch) | |
| tree | 16440ff9db8ebf2df7d602f4dd2c412495d2ec1e /test | |
| parent | bbd3a3fd76a3b1f410e0304d5455fc22864796b4 (diff) | |
| download | angular.js-4f797fe5f38cab06d1bb9c946cd39ce31aaa2483.tar.bz2 | |
refactor(testabilityPatch): Change JSTD fail to more general throw
"fail" is a JSTD specific API, so it's not defined when testing without JSTD (eg SlimJim).
Diffstat (limited to 'test')
| -rw-r--r-- | test/testabilityPatch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 1b4f11ba..1b954ea6 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -54,7 +54,7 @@ afterEach(function() { }); }); if (count) { - fail('Found jqCache references that were not deallocated!'); + throw new Error('Found jqCache references that were not deallocated!'); } }); |
