@@ -116,7 +116,7 @@ func TestSQLDefaultEngineSetting(t *testing.T) {
116116 require .Equal (t , []interface {}{[]interface {}{"sql_default_engine" , "vinyl" }}, resp .Data )
117117
118118 // Create a space with "CREATE TABLE".
119- resp , err = conn .Execute ("CREATE TABLE t1_vinyl (a INT PRIMARY KEY, b INT, c INT);" , []interface {}{})
119+ resp , err = conn .Execute ("CREATE TABLE T1_VINYL (a INT PRIMARY KEY, b INT, c INT);" , []interface {}{})
120120 require .Nil (t , err )
121121 require .NotNil (t , resp )
122122 require .Equal (t , uint64 (1 ), resp .SQLInfo .AffectedCount )
@@ -140,7 +140,7 @@ func TestSQLDefaultEngineSetting(t *testing.T) {
140140 require .Equal (t , []interface {}{[]interface {}{"sql_default_engine" , "memtx" }}, resp .Data )
141141
142142 // Create a space with "CREATE TABLE".
143- resp , err = conn .Execute ("CREATE TABLE t2_memtx (a INT PRIMARY KEY, b INT, c INT);" , []interface {}{})
143+ resp , err = conn .Execute ("CREATE TABLE T2_MEMTX (a INT PRIMARY KEY, b INT, c INT);" , []interface {}{})
144144 require .Nil (t , err )
145145 require .NotNil (t , resp )
146146 require .Equal (t , uint64 (1 ), resp .SQLInfo .AffectedCount )
@@ -233,13 +233,13 @@ func TestSQLFullColumnNamesSetting(t *testing.T) {
233233 defer conn .Close ()
234234
235235 // Create a space.
236- resp , err = conn .Execute ("CREATE TABLE fkname(id INT PRIMARY KEY, x INT);" , []interface {}{})
236+ resp , err = conn .Execute ("CREATE TABLE FKNAME(ID INT PRIMARY KEY, X INT);" , []interface {}{})
237237 require .Nil (t , err )
238238 require .NotNil (t , resp )
239239 require .Equal (t , uint64 (1 ), resp .SQLInfo .AffectedCount )
240240
241241 // Fill it with some data.
242- resp , err = conn .Execute ("INSERT INTO fkname VALUES (1, 1);" , []interface {}{})
242+ resp , err = conn .Execute ("INSERT INTO FKNAME VALUES (1, 1);" , []interface {}{})
243243 require .Nil (t , err )
244244 require .NotNil (t , resp )
245245 require .Equal (t , uint64 (1 ), resp .SQLInfo .AffectedCount )
@@ -257,7 +257,7 @@ func TestSQLFullColumnNamesSetting(t *testing.T) {
257257 require .Equal (t , []interface {}{[]interface {}{"sql_full_column_names" , false }}, resp .Data )
258258
259259 // Get a data with short column names in metadata.
260- resp , err = conn .Execute ("SELECT x FROM fkname WHERE id = 1;" , []interface {}{})
260+ resp , err = conn .Execute ("SELECT X FROM FKNAME WHERE ID = 1;" , []interface {}{})
261261 require .Nil (t , err )
262262 require .NotNil (t , resp )
263263 require .Equal (t , "X" , resp .MetaData [0 ].FieldName )
@@ -275,7 +275,7 @@ func TestSQLFullColumnNamesSetting(t *testing.T) {
275275 require .Equal (t , []interface {}{[]interface {}{"sql_full_column_names" , true }}, resp .Data )
276276
277277 // Get a data with full column names in metadata.
278- resp , err = conn .Execute ("SELECT x FROM fkname WHERE id = 1;" , []interface {}{})
278+ resp , err = conn .Execute ("SELECT X FROM FKNAME WHERE ID = 1;" , []interface {}{})
279279 require .Nil (t , err )
280280 require .NotNil (t , resp )
281281 require .Equal (t , "FKNAME.X" , resp .MetaData [0 ].FieldName )
0 commit comments