mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
Rename abbreviated assertions in std/testing (#6118)
This commit is contained in:
parent
c137b11abf
commit
ed5aedc6b4
25 changed files with 141 additions and 130 deletions
|
@ -2,7 +2,7 @@
|
|||
import {
|
||||
assert,
|
||||
assertEquals,
|
||||
assertStrContains,
|
||||
assertStringContains,
|
||||
assertThrows,
|
||||
assertThrowsAsync,
|
||||
} from "../testing/asserts.ts";
|
||||
|
@ -228,7 +228,7 @@ for (const s of scenes) {
|
|||
assert(p.stdout);
|
||||
const output = await p.output();
|
||||
p.close();
|
||||
assertStrContains(new TextDecoder().decode(output), s.output);
|
||||
assertStringContains(new TextDecoder().decode(output), s.output);
|
||||
} catch (err) {
|
||||
await Deno.remove(testfolder, { recursive: true });
|
||||
throw err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue