diff options
| author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-01-27 13:19:56 +0900 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-26 23:19:56 -0500 |
| commit | 75dab82adbf64cb021b0133771a782c285991a4b (patch) | |
| tree | 899f0d4b643f80c055e6154d7056bb22c2a749db /testing/test.ts | |
| parent | 490c2eb5069c513f19429cdfa902796eb2819c2a (diff) | |
Port prettier (denoland/deno_std#156)
Original: https://github.com/denoland/deno_std/commit/b792fe8c7234287ce133e15d63cae5295256fd19
Diffstat (limited to 'testing/test.ts')
| -rw-r--r-- | testing/test.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/test.ts b/testing/test.ts index 347a31b56..a27ffb263 100644 --- a/testing/test.ts +++ b/testing/test.ts @@ -35,7 +35,13 @@ test(function testingAssertFail() { let didThrow = false; assert.throws(assert.fail, Error, "Failed assertion."); - assert.throws(() => { assert.fail("foo"); }, Error, "Failed assertion: foo"); + assert.throws( + () => { + assert.fail("foo"); + }, + Error, + "Failed assertion: foo" + ); }); test(function testingAssertEqualActualUncoercable() { |
