diff options
author | Antoine Gourlay <antoine@gourlay.fr> | 2014-02-26 00:31:47 +0100 |
---|---|---|
committer | Antoine Gourlay <antoine@gourlay.fr> | 2014-06-04 10:28:22 +0200 |
commit | 85a26409f23ed8df6e82e763cb4415d519c3e9f5 (patch) | |
tree | b756e73e33469b567b50a25f60f15415072a25e5 /test/files/run | |
parent | b24e7573a17332606d9f9da49a397e02abec1b63 (diff) | |
download | scala-85a26409f23ed8df6e82e763cb4415d519c3e9f5.tar.gz scala-85a26409f23ed8df6e82e763cb4415d519c3e9f5.tar.bz2 scala-85a26409f23ed8df6e82e763cb4415d519c3e9f5.zip |
SI-7372 fix wrong insertion point for binary & linear search.
It should return the position the value would have if it was a part of
the sequence. Somehow even the test was wrong.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/search.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/search.check b/test/files/run/search.check index a885696509..e0c55043e3 100644 --- a/test/files/run/search.check +++ b/test/files/run/search.check @@ -1,6 +1,6 @@ Found(2) Found(4) -InsertionPoint(9) +InsertionPoint(10) Found(2) Found(4) -InsertionPoint(9) +InsertionPoint(10) |