Skip to content

Commit

Permalink
allow to read integer
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-slava committed May 28, 2020
1 parent d1da6fb commit fd756cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions it/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ func TestMigrator__integration(t *testing.T) {

switch d := data[i].value.(type) {
case int:
m[data[i].key] = d
m[data[i].key] = int(d)
case string:
m[data[i].key] = d
m[data[i].key] = string(d)
default:
t.Fatal("Unsupported data type")
t.Fatal("Error: unsupported data type")
}
client.Write(data[i].path, m, "1")

Expand Down

0 comments on commit fd756cf

Please sign in to comment.