mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
remove non-null assertion operator from std (part2) (#3927)
This commit is contained in:
parent
cdba5ab6fc
commit
a4bb8bab44
11 changed files with 128 additions and 75 deletions
|
@ -477,7 +477,7 @@ for (const t of testCases) {
|
|||
if (t.Error) {
|
||||
let err;
|
||||
try {
|
||||
actual = await readMatrix(new BufReader(new StringReader(t.Input!)), {
|
||||
actual = await readMatrix(new BufReader(new StringReader(t.Input)), {
|
||||
comma: comma,
|
||||
comment: comment,
|
||||
trimLeadingSpace: trim,
|
||||
|
@ -490,7 +490,7 @@ for (const t of testCases) {
|
|||
assert(err);
|
||||
assertEquals(err.message, t.Error);
|
||||
} else {
|
||||
actual = await readMatrix(new BufReader(new StringReader(t.Input!)), {
|
||||
actual = await readMatrix(new BufReader(new StringReader(t.Input)), {
|
||||
comma: comma,
|
||||
comment: comment,
|
||||
trimLeadingSpace: trim,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue