We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 940c788 commit 9226df7Copy full SHA for 9226df7
grate.unittests/Basic/Infrastructure/Oracle/Statement_Splitting/StatementSplitter_.cs
@@ -44,4 +44,23 @@ SELECT 1
44
batches.First().Should().NotEndWith(";");
45
}
46
47
+ [Test]
48
+ public void Splits_into_multiple_statements()
49
+ {
50
+ const string original = @"
51
+create table table_one (
52
+ col number
53
+);
54
+/
55
+
56
+create table table_two (
57
58
+)
59
+";
60
+ var batches = Splitter.Split(original).ToArray();
61
62
+ batches.Should().HaveCount(2);
63
+ batches.First().Should().NotEndWith(";");
64
+ }
65
66
0 commit comments