Skip to content

Commit 853444e

Browse files
committed
Fix property test config
1 parent ccf3a55 commit 853444e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

larray-buffer/src/main/java/xerial/larray/buffer/LBuffer.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* @author Taro L. Saito
88
*/
99
public class LBuffer extends LBufferAPI {
10-
1110
/**
1211
* Allocate a memory of the specified byte size
1312
*
@@ -16,8 +15,6 @@ public class LBuffer extends LBufferAPI {
1615
public LBuffer(long size) {
1716
super(LBufferConfig.allocator.allocate(size));
1817
}
19-
20-
2118
}
2219

2320

larray/src/test/scala/xerial/larray/LArrayTestWithPBT.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
package xerial.larray
1717

1818
import org.scalatest.prop.PropertyChecks
19+
import org.scalatest.prop.Checkers
1920

2021
/**
2122
* Created with IntelliJ IDEA.
@@ -25,7 +26,8 @@ import org.scalatest.prop.PropertyChecks
2526
*/
2627
class LArrayTestWithPBT
2728
extends LArraySpec with PropertyChecks with LArrayBehaviour {
28-
implicit override val generatorDrivenConfig = PropertyCheckConfig(minSuccessful= 3, minSize = 1, maxSize = 10000)
29+
30+
implicit val config = PropertyCheckConfig(minSuccessful = 3, minSize = 1, maxSize = 10000)
2931

3032
forAll {
3133
(input: Array[Int]) =>
@@ -64,4 +66,5 @@ class LArrayTestWithPBT
6466
behave like validArray(input)
6567
behave like validIntArray(input)
6668
}
69+
6770
}

0 commit comments

Comments
 (0)