1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-03-01 00:35:28 +08:00

test: remove unstable test item

This commit is contained in:
dudaodong
2024-09-10 15:59:09 +08:00
parent 8869e0440d
commit 3e1ac5e0b5

View File

@@ -821,14 +821,11 @@ func ExampleOrderedMap_MarshalJSON() {
} }
func ExampleOrderedMap_UnmarshalJSON() { 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()) // fmt.Println(om.Elements())
// Output:
// [{a 1} {b 2} {c 3}]
} }