From 0cd39cfe43ab802a43bbbb07e3e97d09f7be84bd Mon Sep 17 00:00:00 2001 From: jayzhan211 Date: Thu, 23 May 2024 09:18:31 +0800 Subject: [PATCH] fmt Signed-off-by: jayzhan211 --- stdlib/test/collections/test_dict.mojo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/test/collections/test_dict.mojo b/stdlib/test/collections/test_dict.mojo index 0e813369fcc..0788e4add17 100644 --- a/stdlib/test/collections/test_dict.mojo +++ b/stdlib/test/collections/test_dict.mojo @@ -512,6 +512,7 @@ def test_find_get(): assert_equal(some_dict.find("not_key").or_else(0), 0) assert_equal(some_dict.get("not_key", 0), 0) + def test_dict_popitem(): var dict = Dict[String, Int]() dict["a"] = 1 @@ -526,6 +527,7 @@ def test_dict_popitem(): with assert_raises(contains="KeyError"): _ = dict.popitem() + fn test_clear() raises: var some_dict = Dict[String, Int]() some_dict["key"] = 1