From ba778a1223f601333be2411fac7a7efa53c283c4 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Thu, 19 Nov 2020 16:42:28 +0000 Subject: feature: Sets --- CONTRIBUTING.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CONTRIBUTING.org') 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. -- cgit v1.2.3