Skip to content

Commit 5b6429b

Browse files
committed
Tests print API version
1 parent a8aa65f commit 5b6429b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Properties.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ main :: IO ()
2929
main = do
3030
mv <- lookupEnv "FDB_HASKELL_TEST_API_VERSION" :: IO (Maybe String)
3131
let version = maybe currentAPIVersion read mv
32+
putStrLn $ "Using API version " ++ show version
3233
withFoundationDB defaultOptions {apiVersion = version} $ \db -> do
3334
let cleanupAfter tests = hspec $ after_ (cleanup db testSS) tests
3435
hspec encodeDecodeSpecs

0 commit comments

Comments
 (0)