new tests
This commit is contained in:
@@ -834,7 +834,8 @@ final class DatabaseModel: ObservableObject {
|
|||||||
|
|
||||||
|
|
||||||
// Splits editor scripts without splitting semicolons inside quoted values or comments.
|
// Splits editor scripts without splitting semicolons inside quoted values or comments.
|
||||||
private enum SQLStatementSplitter {
|
// Internal visibility allows the DBSynTests target to exercise the production parser via @testable import.
|
||||||
|
enum SQLStatementSplitter {
|
||||||
static func split(_ source: String) -> [String] {
|
static func split(_ source: String) -> [String] {
|
||||||
let chars = Array(source)
|
let chars = Array(source)
|
||||||
var output: [String] = []
|
var output: [String] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user