Skip to content

Commit fd756cf

Browse files
committed
allow to read integer
1 parent d1da6fb commit fd756cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

it/integration_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ func TestMigrator__integration(t *testing.T) {
9191

9292
switch d := data[i].value.(type) {
9393
case int:
94-
m[data[i].key] = d
94+
m[data[i].key] = int(d)
9595
case string:
96-
m[data[i].key] = d
96+
m[data[i].key] = string(d)
9797
default:
98-
t.Fatal("Unsupported data type")
98+
t.Fatal("Error: unsupported data type")
9999
}
100100
client.Write(data[i].path, m, "1")
101101

0 commit comments

Comments
 (0)