diff options
author | Yusuke Sakurai <kerokerokerop@gmail.com> | 2020-02-09 05:15:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-08 14:15:59 -0600 |
commit | a4bb8bab44cc778e6e455f19fdae9f3e4acc809b (patch) | |
tree | dcd78cd45f493588b04d3949aeb7c57b8d53d92e /std/encoding/csv_test.ts | |
parent | cdba5ab6fc633606aaa6f95d0825832c3ac6fe5c (diff) |
remove non-null assertion operator from std (part2) (#3927)
Diffstat (limited to 'std/encoding/csv_test.ts')
-rw-r--r-- | std/encoding/csv_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/encoding/csv_test.ts b/std/encoding/csv_test.ts index daa30d0fb..6c726835e 100644 --- a/std/encoding/csv_test.ts +++ b/std/encoding/csv_test.ts @@ -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, |