summaryrefslogtreecommitdiff
path: root/test/instrumented/srt.patch
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-04 13:53:13 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-06-08 15:32:17 +0200
commit7b0f0a142bb526f4bd108a8c208ec9a8952398c9 (patch)
treeee13d036756be41521a9eb3f1e05898410ab744e /test/instrumented/srt.patch
parentd9103e01b467634d61baa3b131aeb93fca9e20a5 (diff)
downloadscala-7b0f0a142bb526f4bd108a8c208ec9a8952398c9.tar.gz
scala-7b0f0a142bb526f4bd108a8c208ec9a8952398c9.tar.bz2
scala-7b0f0a142bb526f4bd108a8c208ec9a8952398c9.zip
repairs the tests after the refactoring spree
Diffstat (limited to 'test/instrumented/srt.patch')
-rw-r--r--test/instrumented/srt.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/instrumented/srt.patch b/test/instrumented/srt.patch
index 8d08550165..366763e7f9 100644
--- a/test/instrumented/srt.patch
+++ b/test/instrumented/srt.patch
@@ -1,26 +1,26 @@
9a10,11
> /* INSTRUMENTED VERSION */
>
-43c45,48
+44c46,49
< def isTuple(x: Any) = x != null && tupleNames(x.getClass.getName)
---
> var arrayApplyCount = 0
> var arrayUpdateCount = 0
>
> def isTuple(x: Any) = tupleNames(x.getClass.getName)
-75c80,82
+76c81,83
< def array_apply(xs: AnyRef, idx: Int): Any = xs match {
---
> def array_apply(xs: AnyRef, idx: Int): Any = {
> arrayApplyCount += 1
> xs match {
-87a95
+88a96
> }
-90c98,100
+91c99,101
< def array_update(xs: AnyRef, idx: Int, value: Any): Unit = xs match {
---
> def array_update(xs: AnyRef, idx: Int, value: Any): Unit = {
> arrayUpdateCount += 1
> xs match {
-101a112
+102a113
> }