File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,8 +176,7 @@ public void Union()
176176 var c = Compile ( mobiles ) ;
177177
178178 Assert . Equal ( "SELECT * FROM [Phones] UNION SELECT * FROM [Laptops]" , c [ EngineCodes . SqlServer ] ) ;
179-
180-
179+ Assert . Equal ( "SELECT * FROM \" Phones\" UNION SELECT * FROM \" Laptops\" " , c [ EngineCodes . Sqlite ] ) ;
181180 Assert . Equal ( "SELECT * FROM \" PHONES\" UNION SELECT * FROM \" LAPTOPS\" " , c [ EngineCodes . Firebird ] ) ;
182181 }
183182
@@ -191,8 +190,8 @@ public void UnionWithBindings()
191190 var c = Compile ( mobiles ) ;
192191
193192 Assert . Equal ( "SELECT * FROM [Phones] UNION SELECT * FROM [Laptops] WHERE [Type] = 'A'" , c [ EngineCodes . SqlServer ] ) ;
193+ Assert . Equal ( "SELECT * FROM \" Phones\" UNION SELECT * FROM \" Laptops\" WHERE \" Type\" = 'A'" , c [ EngineCodes . Sqlite ] ) ;
194194 Assert . Equal ( "SELECT * FROM `Phones` UNION SELECT * FROM `Laptops` WHERE `Type` = 'A'" , c [ EngineCodes . MySql ] ) ;
195-
196195 Assert . Equal ( "SELECT * FROM \" PHONES\" UNION SELECT * FROM \" LAPTOPS\" WHERE \" TYPE\" = 'A'" , c [ EngineCodes . Firebird ] ) ;
197196 }
198197
You can’t perform that action at this time.
0 commit comments