From 788a6abfd391b8899d28552a9f192d9aaee91347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=E1=BA=A3i?= Date: Sun, 5 Apr 2020 00:13:37 +0700 Subject: fix(std/testing): formatting bigint (#4626) --- std/testing/format_test.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'std/testing/format_test.ts') diff --git a/std/testing/format_test.ts b/std/testing/format_test.ts index eac5b7d84..f4065ff92 100644 --- a/std/testing/format_test.ts +++ b/std/testing/format_test.ts @@ -580,6 +580,14 @@ test({ }, }); +test({ + name: "prints a bigint", + fn(): void { + const val = 12345n; + assertEquals(format(val), "12345n"); + }, +}); + test({ name: "prints undefined", fn(): void { -- cgit v1.2.3