diff options
Diffstat (limited to 'cli/tests/unit/performance_test.ts')
-rw-r--r-- | cli/tests/unit/performance_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/performance_test.ts b/cli/tests/unit/performance_test.ts index 229b38bb8..156841165 100644 --- a/cli/tests/unit/performance_test.ts +++ b/cli/tests/unit/performance_test.ts @@ -82,12 +82,12 @@ unitTest(function performanceMeasure() { }); unitTest(function performanceIllegalConstructor() { - assertThrows(() => new Performance(), TypeError, "Illegal constructor."); + assertThrows(() => new Performance(), TypeError, "Illegal constructor"); assertEquals(Performance.length, 0); }); unitTest(function performanceEntryIllegalConstructor() { - assertThrows(() => new PerformanceEntry(), TypeError, "Illegal constructor."); + assertThrows(() => new PerformanceEntry(), TypeError, "Illegal constructor"); assertEquals(PerformanceEntry.length, 0); }); @@ -95,6 +95,6 @@ unitTest(function performanceMeasureIllegalConstructor() { assertThrows( () => new PerformanceMeasure(), TypeError, - "Illegal constructor.", + "Illegal constructor", ); }); |