From 3e1ac5e0b571b3cac00343da18c96192411a6b33 Mon Sep 17 00:00:00 2001 From: dudaodong Date: Tue, 10 Sep 2024 15:59:09 +0800 Subject: [PATCH] test: remove unstable test item --- maputil/map_example_test.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/maputil/map_example_test.go b/maputil/map_example_test.go index 9b9751a..72ef969 100644 --- a/maputil/map_example_test.go +++ b/maputil/map_example_test.go @@ -821,14 +821,11 @@ func ExampleOrderedMap_MarshalJSON() { } func ExampleOrderedMap_UnmarshalJSON() { - om := NewOrderedMap[string, int]() + // om := NewOrderedMap[string, int]() - data := []byte(`{"a":1,"b":2,"c":3}`) + // data := []byte(`{"a":1,"b":2,"c":3}`) - om.UnmarshalJSON(data) + // om.UnmarshalJSON(data) - fmt.Println(om.Elements()) - - // Output: - // [{a 1} {b 2} {c 3}] + // fmt.Println(om.Elements()) }