File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -254,16 +254,17 @@ posix010 = testCase "posix010" $ do
254
254
255
255
testWithFilePath :: TestTree
256
256
testWithFilePath =
257
- testGroup " withFilePath"
258
- [ testProperty " ByteString" $
259
- \ xs -> let ys = B. pack $ filter (/= 0 ) xs in
260
- ioProperty $ BSFP. withFilePath ys
261
- (\ ptr -> (=== ys) <$> B. packCString ptr)
262
- , testProperty " PosixPath" $
263
- \ xs -> let ys = Sh. pack $ filter (/= 0 ) xs in
264
- ioProperty $ PPFP. withFilePath (PosixString ys)
265
- (\ ptr -> (=== ys) <$> Sh. packCString ptr)
266
- ]
257
+ adjustOption (\ (QuickCheckTests n) -> QuickCheckTests (n `max` 10000 )) $
258
+ testGroup " withFilePath"
259
+ [ testProperty " ByteString" $
260
+ \ xs -> let ys = B. pack $ filter (/= 0 ) xs in
261
+ ioProperty $ BSFP. withFilePath ys
262
+ (\ ptr -> (=== ys) <$> B. packCString ptr)
263
+ , testProperty " PosixPath" $
264
+ \ xs -> let ys = Sh. pack $ filter (/= 0 ) xs in
265
+ ioProperty $ PPFP. withFilePath (PosixString ys)
266
+ (\ ptr -> (=== ys) <$> Sh. packCString ptr)
267
+ ]
267
268
268
269
-------------------------------------------------------------------------------
269
270
-- Utils
You can’t perform that action at this time.
0 commit comments