diff options
| author | Andrey Orst <andreyorst@gmail.com> | 2020-11-19 16:42:28 +0000 |
|---|---|---|
| committer | Andrey Orst <andreyorst@gmail.com> | 2020-11-19 16:42:28 +0000 |
| commit | ba778a1223f601333be2411fac7a7efa53c283c4 (patch) | |
| tree | 23d0c792e5785f6b8c7e5af79ec2e1d62148358b /CONTRIBUTING.org | |
| parent | d78fc3f0bca806f0f845057f2af0047612f1a8e4 (diff) | |
feature: Sets
Diffstat (limited to 'CONTRIBUTING.org')
| -rw-r--r-- | CONTRIBUTING.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.org b/CONTRIBUTING.org index fc48f4c..9acb924 100644 --- a/CONTRIBUTING.org +++ b/CONTRIBUTING.org @@ -37,9 +37,9 @@ For this particular project, please follow rules as described in [[https://githu If you see any inconsistencies with the style guide in the code, feel free to change these in a non-breaking way. If you've added new functions, each one must be covered with a set of tests. -For that purpose this project has special =test.fnl= module, that defines such macros as =assert*=, =assert-not=, =assert-eq=, =assert-ne=, =deftest=, and =testing=. +For that purpose this project has special =test.fnl= module, that defines such macros as =assert-is=, =assert-not=, =assert-eq=, =assert-ne=, =deftest=, and =testing=. Related tests should be grouped with the =deftest= macro, which defines a meaningful name for the test, and test itself must be defined within =testing= macros. -All assertions in tests must be one with one of =assert-eq=, =assert-ne=, =assert-not=, or =assert*= macros, as these provide human readable output in the log. +All assertions in tests must be one with one of =assert-eq=, =assert-ne=, =assert-not=, or =assert-is= macros, as these provide human readable output in the log. When changing existing functions make sure that all tests pass. If some tests do not pass, make sure that these tests are written to test this function. |