@@ -41,7 +41,7 @@ func Test_comparisonQueryBuilder(t *testing.T) {
41
41
assert .Equal (t , bson.D {bson.E {Key : "k1" , Value : bson.D {bson.E {Key : NeOp , Value : "v1" }}}}, NewBuilder ().Ne ("k1" , "v1" ).Build ())
42
42
}
43
43
44
- func TestBsonBuilder_In (t * testing.T ) {
44
+ func TestNewBuilder_In (t * testing.T ) {
45
45
testCases := []struct {
46
46
name string
47
47
key string
@@ -80,7 +80,7 @@ func TestBsonBuilder_In(t *testing.T) {
80
80
}
81
81
}
82
82
83
- func TestBsonBuilder_InUint (t * testing.T ) {
83
+ func TestNewBuilder_InUint (t * testing.T ) {
84
84
testCases := []struct {
85
85
name string
86
86
key string
@@ -119,7 +119,7 @@ func TestBsonBuilder_InUint(t *testing.T) {
119
119
}
120
120
}
121
121
122
- func TestBsonBuilder_InUint8 (t * testing.T ) {
122
+ func TestNewBuilder_InUint8 (t * testing.T ) {
123
123
testCases := []struct {
124
124
name string
125
125
key string
@@ -158,7 +158,7 @@ func TestBsonBuilder_InUint8(t *testing.T) {
158
158
}
159
159
}
160
160
161
- func TestBsonBuilder_InUint16 (t * testing.T ) {
161
+ func TestNewBuilder_InUint16 (t * testing.T ) {
162
162
testCases := []struct {
163
163
name string
164
164
key string
@@ -197,7 +197,7 @@ func TestBsonBuilder_InUint16(t *testing.T) {
197
197
}
198
198
}
199
199
200
- func TestBsonBuilder_InUint32 (t * testing.T ) {
200
+ func TestNewBuilder_InUint32 (t * testing.T ) {
201
201
testCases := []struct {
202
202
name string
203
203
key string
@@ -236,7 +236,7 @@ func TestBsonBuilder_InUint32(t *testing.T) {
236
236
}
237
237
}
238
238
239
- func TestBsonBuilder_InUint64 (t * testing.T ) {
239
+ func TestNewBuilder_InUint64 (t * testing.T ) {
240
240
testCases := []struct {
241
241
name string
242
242
key string
@@ -275,7 +275,7 @@ func TestBsonBuilder_InUint64(t *testing.T) {
275
275
}
276
276
}
277
277
278
- func TestBsonBuilder_InInt (t * testing.T ) {
278
+ func TestNewBuilder_InInt (t * testing.T ) {
279
279
testCases := []struct {
280
280
name string
281
281
key string
@@ -314,7 +314,7 @@ func TestBsonBuilder_InInt(t *testing.T) {
314
314
}
315
315
}
316
316
317
- func TestBsonBuilder_InInt8 (t * testing.T ) {
317
+ func TestNewBuilder_InInt8 (t * testing.T ) {
318
318
testCases := []struct {
319
319
name string
320
320
key string
@@ -353,7 +353,7 @@ func TestBsonBuilder_InInt8(t *testing.T) {
353
353
}
354
354
}
355
355
356
- func TestBsonBuilder_InInt16 (t * testing.T ) {
356
+ func TestNewBuilder_InInt16 (t * testing.T ) {
357
357
testCases := []struct {
358
358
name string
359
359
key string
@@ -392,7 +392,7 @@ func TestBsonBuilder_InInt16(t *testing.T) {
392
392
}
393
393
}
394
394
395
- func TestBsonBuilder_InInt32 (t * testing.T ) {
395
+ func TestNewBuilder_InInt32 (t * testing.T ) {
396
396
testCases := []struct {
397
397
name string
398
398
key string
@@ -431,7 +431,7 @@ func TestBsonBuilder_InInt32(t *testing.T) {
431
431
}
432
432
}
433
433
434
- func TestBsonBuilder_InInt64 (t * testing.T ) {
434
+ func TestNewBuilder_InInt64 (t * testing.T ) {
435
435
testCases := []struct {
436
436
name string
437
437
key string
@@ -470,7 +470,7 @@ func TestBsonBuilder_InInt64(t *testing.T) {
470
470
}
471
471
}
472
472
473
- func TestBsonBuilder_InFloat32 (t * testing.T ) {
473
+ func TestNewBuilder_InFloat32 (t * testing.T ) {
474
474
testCases := []struct {
475
475
name string
476
476
key string
@@ -510,7 +510,7 @@ func TestBsonBuilder_InFloat32(t *testing.T) {
510
510
}
511
511
}
512
512
513
- func TestBsonBuilder_InFloat64 (t * testing.T ) {
513
+ func TestNewBuilder_InFloat64 (t * testing.T ) {
514
514
testCases := []struct {
515
515
name string
516
516
key string
@@ -550,7 +550,7 @@ func TestBsonBuilder_InFloat64(t *testing.T) {
550
550
}
551
551
}
552
552
553
- func TestBsonBuilder_InString (t * testing.T ) {
553
+ func TestNewBuilder_InString (t * testing.T ) {
554
554
testCases := []struct {
555
555
name string
556
556
key string
@@ -590,7 +590,7 @@ func TestBsonBuilder_InString(t *testing.T) {
590
590
}
591
591
}
592
592
593
- func TestBsonBuilder_Nin (t * testing.T ) {
593
+ func TestNewBuilder_Nin (t * testing.T ) {
594
594
testCases := []struct {
595
595
name string
596
596
key string
@@ -629,7 +629,7 @@ func TestBsonBuilder_Nin(t *testing.T) {
629
629
}
630
630
}
631
631
632
- func TestBsonBuilder_NinUint (t * testing.T ) {
632
+ func TestNewBuilder_NinUint (t * testing.T ) {
633
633
testCases := []struct {
634
634
name string
635
635
key string
@@ -669,7 +669,7 @@ func TestBsonBuilder_NinUint(t *testing.T) {
669
669
}
670
670
}
671
671
672
- func TestBsonBuilder_NinUint8 (t * testing.T ) {
672
+ func TestNewBuilder_NinUint8 (t * testing.T ) {
673
673
testCases := []struct {
674
674
name string
675
675
key string
@@ -709,7 +709,7 @@ func TestBsonBuilder_NinUint8(t *testing.T) {
709
709
}
710
710
}
711
711
712
- func TestBsonBuilder_NinUint16 (t * testing.T ) {
712
+ func TestNewBuilder_NinUint16 (t * testing.T ) {
713
713
testCases := []struct {
714
714
name string
715
715
key string
@@ -749,7 +749,7 @@ func TestBsonBuilder_NinUint16(t *testing.T) {
749
749
}
750
750
}
751
751
752
- func TestBsonBuilder_NinUint32 (t * testing.T ) {
752
+ func TestNewBuilder_NinUint32 (t * testing.T ) {
753
753
testCases := []struct {
754
754
name string
755
755
key string
@@ -791,7 +791,7 @@ func TestBsonBuilder_NinUint32(t *testing.T) {
791
791
}
792
792
}
793
793
794
- func TestBsonBuilder_NinUint64 (t * testing.T ) {
794
+ func TestNewBuilder_NinUint64 (t * testing.T ) {
795
795
testCases := []struct {
796
796
name string
797
797
key string
@@ -834,7 +834,7 @@ func TestBsonBuilder_NinUint64(t *testing.T) {
834
834
}
835
835
}
836
836
837
- func TestBsonBuilder_NinInt (t * testing.T ) {
837
+ func TestNewBuilder_NinInt (t * testing.T ) {
838
838
testCases := []struct {
839
839
name string
840
840
key string
@@ -877,7 +877,7 @@ func TestBsonBuilder_NinInt(t *testing.T) {
877
877
}
878
878
}
879
879
880
- func TestBsonBuilder_NinInt8 (t * testing.T ) {
880
+ func TestNewBuilder_NinInt8 (t * testing.T ) {
881
881
testCases := []struct {
882
882
name string
883
883
key string
@@ -920,7 +920,7 @@ func TestBsonBuilder_NinInt8(t *testing.T) {
920
920
}
921
921
}
922
922
923
- func TestBsonBuilder_NinInt16 (t * testing.T ) {
923
+ func TestNewBuilder_NinInt16 (t * testing.T ) {
924
924
testCases := []struct {
925
925
name string
926
926
key string
@@ -963,7 +963,7 @@ func TestBsonBuilder_NinInt16(t *testing.T) {
963
963
}
964
964
}
965
965
966
- func TestBsonBuilder_NinInt32 (t * testing.T ) {
966
+ func TestNewBuilder_NinInt32 (t * testing.T ) {
967
967
testCases := []struct {
968
968
name string
969
969
key string
@@ -1006,7 +1006,7 @@ func TestBsonBuilder_NinInt32(t *testing.T) {
1006
1006
}
1007
1007
}
1008
1008
1009
- func TestBsonBuilder_NinInt64 (t * testing.T ) {
1009
+ func TestNewBuilder_NinInt64 (t * testing.T ) {
1010
1010
testCases := []struct {
1011
1011
name string
1012
1012
key string
@@ -1049,7 +1049,7 @@ func TestBsonBuilder_NinInt64(t *testing.T) {
1049
1049
}
1050
1050
}
1051
1051
1052
- func TestBsonBuilder_NinFloat32 (t * testing.T ) {
1052
+ func TestNewBuilder_NinFloat32 (t * testing.T ) {
1053
1053
testCases := []struct {
1054
1054
name string
1055
1055
key string
@@ -1092,7 +1092,7 @@ func TestBsonBuilder_NinFloat32(t *testing.T) {
1092
1092
}
1093
1093
}
1094
1094
1095
- func TestBsonBuilder_NinFloat64 (t * testing.T ) {
1095
+ func TestNewBuilder_NinFloat64 (t * testing.T ) {
1096
1096
testCases := []struct {
1097
1097
name string
1098
1098
key string
@@ -1135,7 +1135,7 @@ func TestBsonBuilder_NinFloat64(t *testing.T) {
1135
1135
}
1136
1136
}
1137
1137
1138
- func TestBsonBuilder_NinString (t * testing.T ) {
1138
+ func TestNewBuilder_NinString (t * testing.T ) {
1139
1139
testCases := []struct {
1140
1140
name string
1141
1141
key string
0 commit comments