From 16be4e8cfcaa8bf60c1563694073607e0e54326f Mon Sep 17 00:00:00 2001 From: Mark Gregory Date: Mon, 19 Oct 2026 09:56:56 +0100 Subject: [PATCH] new tests --- DBSyn/DatabaseModel.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DBSyn/DatabaseModel.swift b/DBSyn/DatabaseModel.swift index 1e68197..63f74fa 100644 --- a/DBSyn/DatabaseModel.swift +++ b/DBSyn/DatabaseModel.swift @@ -834,7 +834,8 @@ final class DatabaseModel: ObservableObject { // 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] { let chars = Array(source) var output: [String] = []