Skip to content

Commit

Permalink
README/docs typo: test_arg => arg_test (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski authored Jun 8, 2020
1 parent 94ba915 commit 9c37310
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ of test argument types need to be initialized and finalized for each test case.
Consider an open file handle argument: once you've used it for one test, you
can't use it again; you need to close it and open the file again for the next
test. This function `arg` can be converted into an `ArgRead` instance using
`@test_arg arg begin ... end`.
`@arg_test arg begin ... end`.

#### arg_writers

Expand All @@ -150,7 +150,7 @@ of test argument types need to be initialized and finalized for each test case.
Consider an open file handle argument: once you've used it for one test, you
can't use it again; you need to close it and open the file again for the next
test. This function `arg` can be converted into an `ArgWrite` instance using
`@test_arg arg begin ... end`.
`@arg_test arg begin ... end`.

There is also an `arg_writers` method that takes a path name like `arg_readers`:

Expand Down
4 changes: 2 additions & 2 deletions src/ArgTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ of test argument types need to be initialized and finalized for each test case.
Consider an open file handle argument: once you've used it for one test, you
can't use it again; you need to close it and open the file again for the next
test. This function `arg` can be converted into an `ArgRead` instance using
`@test_arg arg begin ... end`.
`@arg_test arg begin ... end`.
"""
function arg_readers(
body::Function,
Expand Down Expand Up @@ -173,7 +173,7 @@ of test argument types need to be initialized and finalized for each test case.
Consider an open file handle argument: once you've used it for one test, you
can't use it again; you need to close it and open the file again for the next
test. This function `arg` can be converted into an `ArgWrite` instance using
`@test_arg arg begin ... end`.
`@arg_test arg begin ... end`.
There is also an `arg_writers` method that takes a path name like `arg_readers`:
Expand Down

0 comments on commit 9c37310

Please sign in to comment.