Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing imports in documentation #233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/Test.elm
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe untrimmedDesc tests =
{-| Return a [`Test`](#Test) that evaluates a single
[`Expectation`](../Expect#Expectation).

import Test exposing (fuzz)
import Test exposing (test)
import Expect


Expand Down Expand Up @@ -276,7 +276,7 @@ skip =

The number of times to run each fuzz test. (Default is 100.)

import Test exposing (fuzzWith)
import Test exposing (fuzzWith, noDistribution)
import Fuzz exposing (list, int)
import Expect

Expand All @@ -297,7 +297,7 @@ The number of times to run each fuzz test. (Default is 100.)
A way to report/enforce a statistical distribution of your input values.
(Default is `noDistribution`.)

import Test exposing (fuzzWith)
import Test exposing (fuzzWith, expectDistribution)
import Test.Distribution
import Fuzz exposing (list, int)
import Expect
Expand Down Expand Up @@ -330,7 +330,7 @@ Note that there is no `fuzzWith2`, but you can always pass more fuzz values in
using [`Fuzz.pair`](Fuzz#pair), [`Fuzz.triple`](Fuzz#triple),
for example like this:

import Test exposing (fuzzWith)
import Test exposing (fuzzWith, noDistribution)
import Fuzz exposing (pair, list, int)
import Expect

Expand Down Expand Up @@ -424,6 +424,7 @@ See [`fuzzWith`](#fuzzWith) for an example of writing this using tuples.

import Test exposing (fuzz2)
import Fuzz exposing (list, int)
import Expect


fuzz2 (list int) int "List.reverse never influences List.member" <|
Expand Down