diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2015-05-26 21:52:26 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2015-05-26 21:52:26 +0300 |
commit | 0989ba33834c17b2eac3bb87596fca115965ce3c (patch) | |
tree | a1a384e7125cb00d7fbea21af5b107e5744facc4 /doc | |
parent | 115dd554c5d0126c1b006f283f6411733b3a70b1 (diff) | |
download | tor-0989ba33834c17b2eac3bb87596fca115965ce3c.tar.gz tor-0989ba33834c17b2eac3bb87596fca115965ce3c.zip |
FIx a couple of mistypes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/WritingTests.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/WritingTests.txt b/doc/WritingTests.txt index ab6d084ff9..b0f8722163 100644 --- a/doc/WritingTests.txt +++ b/doc/WritingTests.txt @@ -96,7 +96,7 @@ Here's an example of a test function for a simple function in util.c: tor_free(contents); } -This should look pretty familier to you if you've read the tinytest +This should look pretty familiar to you if you've read the tinytest manual. One thing to note here is that we use the testing-specific function "get_fname" to generate a file with respect to a temporary directory that the tests use. You don't need to delete the file; @@ -119,7 +119,7 @@ it outside its usual module. To support this, Tor's build system compiles a testing version of teach module, with extra identifiers exposed. If you want to declare a function as static but available for testing, use the -macro "STATIC" instead of "static." Then, make sure there's a +macro "STATIC" instead of "static". Then, make sure there's a macro-protected declaration of the function in the module's header. For example, crypto_curve25519.h contains: |