@@ -68,7 +68,7 @@ func TestInvalidPeerEntry(t *testing.T) {
68
68
}
69
69
}
70
70
71
- //TestUseStatementError checks to make sure the correct error is returned when the user tries to execute a use statement.
71
+ // TestUseStatementError checks to make sure the correct error is returned when the user tries to execute a use statement.
72
72
func TestUseStatementError (t * testing.T ) {
73
73
session := createSession (t )
74
74
defer session .Close ()
@@ -82,7 +82,7 @@ func TestUseStatementError(t *testing.T) {
82
82
}
83
83
}
84
84
85
- //TestInvalidKeyspace checks that an invalid keyspace will return promptly and without a flood of connections
85
+ // TestInvalidKeyspace checks that an invalid keyspace will return promptly and without a flood of connections
86
86
func TestInvalidKeyspace (t * testing.T ) {
87
87
cluster := createCluster ()
88
88
cluster .Keyspace = "invalidKeyspace"
@@ -1190,7 +1190,7 @@ func TestRebindQueryInfo(t *testing.T) {
1190
1190
}
1191
1191
}
1192
1192
1193
- //TestStaticQueryInfo makes sure that the application can manually bind query parameters using the simplest possible static binding strategy
1193
+ // TestStaticQueryInfo makes sure that the application can manually bind query parameters using the simplest possible static binding strategy
1194
1194
func TestStaticQueryInfo (t * testing.T ) {
1195
1195
session := createSession (t )
1196
1196
defer session .Close ()
@@ -1258,7 +1258,7 @@ func upcaseInitial(str string) string {
1258
1258
return ""
1259
1259
}
1260
1260
1261
- //TestBoundQueryInfo makes sure that the application can manually bind query parameters using the query meta data supplied at runtime
1261
+ // TestBoundQueryInfo makes sure that the application can manually bind query parameters using the query meta data supplied at runtime
1262
1262
func TestBoundQueryInfo (t * testing.T ) {
1263
1263
1264
1264
session := createSession (t )
@@ -1297,7 +1297,7 @@ func TestBoundQueryInfo(t *testing.T) {
1297
1297
1298
1298
}
1299
1299
1300
- //TestBatchQueryInfo makes sure that the application can manually bind query parameters when executing in a batch
1300
+ // TestBatchQueryInfo makes sure that the application can manually bind query parameters when executing in a batch
1301
1301
func TestBatchQueryInfo (t * testing.T ) {
1302
1302
session := createSession (t )
1303
1303
defer session .Close ()
@@ -1475,7 +1475,7 @@ func TestQueryInfo(t *testing.T) {
1475
1475
}
1476
1476
}
1477
1477
1478
- //TestPreparedCacheEviction will make sure that the cache size is maintained
1478
+ // TestPreparedCacheEviction will make sure that the cache size is maintained
1479
1479
func TestPrepare_PreparedCacheEviction (t * testing.T ) {
1480
1480
const maxPrepared = 4
1481
1481
@@ -1614,7 +1614,7 @@ func TestPrepare_PreparedCacheKey(t *testing.T) {
1614
1614
}
1615
1615
}
1616
1616
1617
- //TestMarshalFloat64Ptr tests to see that a pointer to a float64 is marshalled correctly.
1617
+ // TestMarshalFloat64Ptr tests to see that a pointer to a float64 is marshalled correctly.
1618
1618
func TestMarshalFloat64Ptr (t * testing.T ) {
1619
1619
session := createSession (t )
1620
1620
defer session .Close ()
@@ -1628,7 +1628,7 @@ func TestMarshalFloat64Ptr(t *testing.T) {
1628
1628
}
1629
1629
}
1630
1630
1631
- //TestMarshalInet tests to see that a pointer to a float64 is marshalled correctly.
1631
+ // TestMarshalInet tests to see that a pointer to a float64 is marshalled correctly.
1632
1632
func TestMarshalInet (t * testing.T ) {
1633
1633
session := createSession (t )
1634
1634
defer session .Close ()
@@ -1788,7 +1788,7 @@ func TestVarint(t *testing.T) {
1788
1788
}
1789
1789
}
1790
1790
1791
- //TestQueryStats confirms that the stats are returning valid data. Accuracy may be questionable.
1791
+ // TestQueryStats confirms that the stats are returning valid data. Accuracy may be questionable.
1792
1792
func TestQueryStats (t * testing.T ) {
1793
1793
session := createSession (t )
1794
1794
defer session .Close ()
@@ -1817,7 +1817,7 @@ func TestIterHost(t *testing.T) {
1817
1817
}
1818
1818
}
1819
1819
1820
- //TestBatchStats confirms that the stats are returning valid data. Accuracy may be questionable.
1820
+ // TestBatchStats confirms that the stats are returning valid data. Accuracy may be questionable.
1821
1821
func TestBatchStats (t * testing.T ) {
1822
1822
session := createSession (t )
1823
1823
defer session .Close ()
@@ -1915,8 +1915,8 @@ func TestBatchObserve(t *testing.T) {
1915
1915
}
1916
1916
}
1917
1917
1918
- //TestNilInQuery tests to see that a nil value passed to a query is handled by Cassandra
1919
- //TODO validate the nil value by reading back the nil. Need to fix Unmarshalling.
1918
+ // TestNilInQuery tests to see that a nil value passed to a query is handled by Cassandra
1919
+ // TODO validate the nil value by reading back the nil. Need to fix Unmarshalling.
1920
1920
func TestNilInQuery (t * testing.T ) {
1921
1921
session := createSession (t )
1922
1922
defer session .Close ()
0 commit comments