                 try db.create(table: "test") { t in
                     t.column("name", .text).collate(collation)
                 }
-                XCTAssertEqual(self.lastSQLQuery,
-                    "CREATE TABLE \"test\" (" +
+                XCTAssertEqual(
+                    self.lastSQLQuery,
+                    ("CREATE TABLE \"test\" (" +
                         "\"name\" TEXT COLLATE foo" +
-                    ")")
+                        ")") as String)
                 return .rollback
             }
         }

                try db.create(table: "test") { t in
                    t.column("name", .text).collate(.nocase)
                }
                XCTAssertEqual(self.lastSQLQuery,
                    "CREATE TABLE \"test\" (" +
                        "\"name\" TEXT COLLATE NOCASE" +
                    ")")
                return .rollback
            }
            

                    t.column("d", .text)
                    t.column("e", .text)
                }
                XCTAssertEqual(
                    self.lastSQLQuery,
                    ("CREATE TABLE \"child\" (" +
                        "\"c\" TEXT, " +
                        "\"d\" TEXT, " +
                        "\"e\" TEXT, " +
                        "FOREIGN KEY (\"c\", \"d\") REFERENCES \"parent\"(\"a\", \"b\") ON DELETE CASCADE ON UPDATE CASCADE, " +
                        "FOREIGN KEY (\"d\", \"e\") REFERENCES \"parent\"(\"b\", \"a\") ON DELETE RESTRICT DEFERRABLE INITIALLY DEFERRED" +
                        ")") as String)
            }
        }
    }
