@@ -5,10 +5,10 @@ import (
5
5
"testing"
6
6
"time"
7
7
8
+ "github.com/google/uuid"
8
9
. "github.com/tarantool/go-tarantool"
9
- _ "github.com/tarantool/go-tarantool/uuid"
10
+ _ "github.com/tarantool/go-tarantool/uuid"
10
11
"gopkg.in/vmihailenco/msgpack.v2"
11
- "github.com/google/uuid"
12
12
)
13
13
14
14
var server = "127.0.0.1:3013"
@@ -98,7 +98,7 @@ func TestSelect(t *testing.T) {
98
98
t .Errorf ("Failed to prepare test uuid: %s" , uuidErr )
99
99
}
100
100
101
- resp , errSel := conn .Select (space , index , 0 , 1 , IterEq , []interface {}{ id })
101
+ resp , errSel := conn .Select (space , index , 0 , 1 , IterEq , []interface {}{id })
102
102
if errSel != nil {
103
103
t .Errorf ("UUID select failed: %s" , errSel .Error ())
104
104
}
@@ -108,7 +108,7 @@ func TestSelect(t *testing.T) {
108
108
tupleValueIsId (t , resp .Data , id )
109
109
110
110
var tuples []TupleUUID
111
- errTyp := conn .SelectTyped (space , index , 0 , 1 , IterEq , []interface {}{ id }, & tuples )
111
+ errTyp := conn .SelectTyped (space , index , 0 , 1 , IterEq , []interface {}{id }, & tuples )
112
112
if errTyp != nil {
113
113
t .Errorf ("Failed to SelectTyped: %s" , errTyp .Error ())
114
114
}
@@ -131,7 +131,7 @@ func TestReplace(t *testing.T) {
131
131
t .Errorf ("Failed to prepare test uuid: %s" , uuidErr )
132
132
}
133
133
134
- respRep , errRep := conn .Replace (space , []interface {}{ id })
134
+ respRep , errRep := conn .Replace (space , []interface {}{id })
135
135
if errRep != nil {
136
136
t .Errorf ("UUID replace failed: %s" , errRep )
137
137
}
@@ -140,7 +140,7 @@ func TestReplace(t *testing.T) {
140
140
}
141
141
tupleValueIsId (t , respRep .Data , id )
142
142
143
- respSel , errSel := conn .Select (space , index , 0 , 1 , IterEq , []interface {}{ id })
143
+ respSel , errSel := conn .Select (space , index , 0 , 1 , IterEq , []interface {}{id })
144
144
if errSel != nil {
145
145
t .Errorf ("UUID select failed: %s" , errSel )
146
146
}
0 commit comments