@@ -75,7 +75,7 @@ func SkipIfSQLUnsupported(t testing.TB) {
75
75
}
76
76
}
77
77
78
- func skipIfLess (t * testing.T , feature string , major , minor , patch uint64 ) {
78
+ func SkipIfLess (t * testing.T , feature string , major , minor , patch uint64 ) {
79
79
t .Helper ()
80
80
81
81
isLess , err := IsTarantoolVersionLess (major , minor , patch )
@@ -88,7 +88,7 @@ func skipIfLess(t *testing.T, feature string, major, minor, patch uint64) {
88
88
}
89
89
}
90
90
91
- func skipIfGreaterOrEqual (t * testing.T , feature string , major , minor , patch uint64 ) {
91
+ func SkipIfGreaterOrEqual (t * testing.T , feature string , major , minor , patch uint64 ) {
92
92
t .Helper ()
93
93
94
94
isLess , err := IsTarantoolVersionLess (major , minor , patch )
@@ -106,31 +106,31 @@ func skipIfGreaterOrEqual(t *testing.T, feature string, major, minor, patch uint
106
106
func SkipIfStreamsUnsupported (t * testing.T ) {
107
107
t .Helper ()
108
108
109
- skipIfLess (t , "streams" , 2 , 10 , 0 )
109
+ SkipIfLess (t , "streams" , 2 , 10 , 0 )
110
110
}
111
111
112
112
// SkipOfStreamsUnsupported skips test run if Tarantool without watchers
113
113
// support is used.
114
114
func SkipIfWatchersUnsupported (t * testing.T ) {
115
115
t .Helper ()
116
116
117
- skipIfLess (t , "watchers" , 2 , 10 , 0 )
117
+ SkipIfLess (t , "watchers" , 2 , 10 , 0 )
118
118
}
119
119
120
120
// SkipIfWatchersSupported skips test run if Tarantool with watchers
121
121
// support is used.
122
122
func SkipIfWatchersSupported (t * testing.T ) {
123
123
t .Helper ()
124
124
125
- skipIfGreaterOrEqual (t , "watchers" , 2 , 10 , 0 )
125
+ SkipIfGreaterOrEqual (t , "watchers" , 2 , 10 , 0 )
126
126
}
127
127
128
128
// SkipIfIdUnsupported skips test run if Tarantool without
129
129
// IPROTO_ID support is used.
130
130
func SkipIfIdUnsupported (t * testing.T ) {
131
131
t .Helper ()
132
132
133
- skipIfLess (t , "id requests" , 2 , 10 , 0 )
133
+ SkipIfLess (t , "id requests" , 2 , 10 , 0 )
134
134
}
135
135
136
136
// SkipIfIdSupported skips test run if Tarantool with
@@ -139,23 +139,23 @@ func SkipIfIdUnsupported(t *testing.T) {
139
139
func SkipIfIdSupported (t * testing.T ) {
140
140
t .Helper ()
141
141
142
- skipIfGreaterOrEqual (t , "id requests" , 2 , 10 , 0 )
142
+ SkipIfGreaterOrEqual (t , "id requests" , 2 , 10 , 0 )
143
143
}
144
144
145
145
// SkipIfErrorExtendedInfoUnsupported skips test run if Tarantool without
146
146
// IPROTO_ERROR (0x52) support is used.
147
147
func SkipIfErrorExtendedInfoUnsupported (t * testing.T ) {
148
148
t .Helper ()
149
149
150
- skipIfLess (t , "error extended info" , 2 , 4 , 1 )
150
+ SkipIfLess (t , "error extended info" , 2 , 4 , 1 )
151
151
}
152
152
153
153
// SkipIfErrorMessagePackTypeUnsupported skips test run if Tarantool without
154
154
// MP_ERROR type over iproto support is used.
155
155
func SkipIfErrorMessagePackTypeUnsupported (t * testing.T ) {
156
156
t .Helper ()
157
157
158
- skipIfLess (t , "error type in MessagePack" , 2 , 10 , 0 )
158
+ SkipIfLess (t , "error type in MessagePack" , 2 , 10 , 0 )
159
159
}
160
160
161
161
// CheckEqualBoxErrors checks equivalence of tarantool.BoxError objects.
0 commit comments