Skip to content

Commit

Permalink
fix load json string error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jul 10, 2020
1 parent da5727d commit e6d9375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions load_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ func TestLoad(t *testing.T) {

c.ClearAll()

// load map
// load map data
err = c.LoadData(map[string]interface{}{
"name": "inhere",
"age": 28,
"age": float64(28),
"working": true,
"tags": []string{"a", "b"},
"info": map[string]string{"k1": "a", "k2": "b"},
Expand Down

0 comments on commit e6d9375

Please sign in to comment.