mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-04 12:52:28 +08:00
test: remove unstable test item
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user