diff options
Diffstat (limited to 'test/files/run/patch-boundary.scala')
-rw-r--r-- | test/files/run/patch-boundary.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/patch-boundary.scala b/test/files/run/patch-boundary.scala new file mode 100644 index 0000000000..ed1a0e9fc1 --- /dev/null +++ b/test/files/run/patch-boundary.scala @@ -0,0 +1,8 @@ +object Test { + def f = collection.mutable.ArrayBuffer(1, 2, 3, 4, 5, 6, 7, 8) + def g = f.patch(4, List(1, 2), 10) + + def main(args: Array[String]): Unit = { + assert(g.size == 6) + } +} |