Skip to content

Commit 86247f8

Browse files
author
Alex Biehl
committed
Update README
1 parent 5b0db18 commit 86247f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
Testcontainers is a Haskell library that provides a friendly API to run Docker
2-
container. It is designed to create runtime environment to use during your automatic
3-
tests.
2+
containers. It is designed to create a runtime environment to use during your
3+
integration tests
44

55
``` haskell
66
module Main where
77

88
import Test.Tasty
99
import Test.Tasty.HUnit
10-
import TestContainer.Tasty (MonadDocker, defaultContainerRequest,
10+
import TestContainer.Tasty (MonadDocker, conainerRequest,
1111
redis, run, withContainers)
1212

1313
containers :: MonadDocker m => m ()
1414
containers = do
15-
_ <- run redis defaultContainerRequest
15+
_ <- run $ containerRequest redis
1616
pure ()
1717

1818

0 commit comments

Comments
 (0)