From b78af990b8f656cb17044c96609f58e1f01e6a01 Mon Sep 17 00:00:00 2001 From: Arne Döring Date: Mon, 14 Jan 2019 17:16:17 +0100 Subject: Fixes #10065 (#10260) CountTable now returns 0 instead of 'key not found' for get requests. --- tests/stdlib/tmget.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/stdlib') diff --git a/tests/stdlib/tmget.nim b/tests/stdlib/tmget.nim index 5792b6282..5e2e327f4 100644 --- a/tests/stdlib/tmget.nim +++ b/tests/stdlib/tmget.nim @@ -11,10 +11,10 @@ Can't access 6 Can't access 6 10 11 -Can't access 6 +0 10 11 -Can't access 6 +0 10 11 Can't access 6 @@ -85,7 +85,7 @@ block: except KeyError: echo "Can't access 6" echo x[5] - x[5] += 1 + x.inc 5, 1 var c = x[5] echo c @@ -97,7 +97,7 @@ block: except KeyError: echo "Can't access 6" echo x[5] - x[5] += 1 + x.inc 5, 1 var c = x[5] echo c -- cgit 1.4.1-2-gfad0