From 1a354023691e121cdf823de7759dee31830742e6 Mon Sep 17 00:00:00 2001 From: Kasper Lund Date: Tue, 14 Jan 2025 11:31:42 +0100 Subject: [PATCH] Better test coverage --- tests/throw-close-test.toit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/throw-close-test.toit b/tests/throw-close-test.toit index 6436543..0fcffa3 100644 --- a/tests/throw-close-test.toit +++ b/tests/throw-close-test.toit @@ -18,6 +18,9 @@ main: expect-equals 0 service.traces.size dog.close expect-equals 1 service.traces.size + dog.close + dog.close + expect-equals 2 service.traces.size service.uninstall class TraceServiceProvider extends ServiceProvider