Merged revision(s) 1610938 from lucene/dev/trunk:
Fix buggy test implementation (copypaste error)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1610940 13f79535-47bb-0310-9956-ffa450edef68
Merged revision(s) 1610943 from lucene/dev/trunk:
LUCENE-5827: Make all Directory implementations correctly fail with IllegalArgumentException if slices are out of bounds

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1610944 13f79535-47bb-0310-9956-ffa450edef68