diff options
Diffstat (limited to 'fmt/sprintf_test.ts')
-rw-r--r-- | fmt/sprintf_test.ts | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/fmt/sprintf_test.ts b/fmt/sprintf_test.ts index dbbdbb306..7cfe0d0a4 100644 --- a/fmt/sprintf_test.ts +++ b/fmt/sprintf_test.ts @@ -587,18 +587,16 @@ const tests: Array<[string, any, string]> = [ ]; test(function testThorough(): void { - tests.forEach( - (t, i): void => { - // p(t) - let is = S(t[0], t[1]); - let should = t[2]; - assertEquals( - is, - should, - `failed case[${i}] : is >${is}< should >${should}<` - ); - } - ); + tests.forEach((t, i): void => { + // p(t) + let is = S(t[0], t[1]); + let should = t[2]; + assertEquals( + is, + should, + `failed case[${i}] : is >${is}< should >${should}<` + ); + }); }); test(function testWeirdos(): void { |