-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #30.
- Loading branch information
Jordan Suchow
committed
Jan 23, 2015
1 parent
afd7fbf
commit a90b9de
Showing
5 changed files
with
27 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
The quick brown fox jumps over the lazy dog. | ||
I used the hammer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from check import Check | ||
from proselint.checks import strunk_white_eos as chk | ||
|
||
|
||
class TestCheck(Check): | ||
|
||
__test__ = True | ||
|
||
@property | ||
def this_check(self): | ||
return chk | ||
|
||
def test_with_utilized(self): | ||
assert self.check( | ||
"""I use a hammer to drive nails into wood..""" | ||
) | ||
|
||
def test_no_utilized(self): | ||
assert not self.check( | ||
"""I utilize a hammer to drive nails into wood.""" | ||
) |