diff options
| author | Andrey Orst <andreyorst@gmail.com> | 2020-11-14 16:51:51 +0300 |
|---|---|---|
| committer | Andrey Orst <andreyorst@gmail.com> | 2020-11-14 16:55:11 +0300 |
| commit | 4ea70bf39971eeb742a5de689a9ad8ba63559ecb (patch) | |
| tree | 0c8268316eff16ca5b066063b29ea410c0405336 /tests | |
| parent | 612d8185384ca77347ed89d02c45b91cd9dcd57a (diff) | |
Feature(doc): upload autogenerated documentation.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/fn.fnl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/fn.fnl b/tests/fn.fnl index e0af7cb..aa86b12 100644 --- a/tests/fn.fnl +++ b/tests/fn.fnl @@ -7,21 +7,21 @@ "docstring" [x] x) (assert-eq (meta f) (when-meta {:fnl/docstring "docstring" - :fnl/arglist ["x"]})) + :fnl/arglist ["[x]"]})) (fn* f "docstring" ([x] x)) (assert-eq (meta f) (when-meta {:fnl/docstring "docstring" - :fnl/arglist ["x"]})) + :fnl/arglist ["([x])"]})) (fn* f "docstring" ([x] x) ([x y] (+ x y))) (assert-eq (meta f) (when-meta {:fnl/docstring "docstring" - :fnl/arglist ["\n [x]" - "\n [x y]"]})) + :fnl/arglist ["\n ([x])" + "\n ([x y])"]})) (fn* f "docstring" @@ -29,9 +29,9 @@ ([x y] (+ x y)) ([x y & z] (+ x y))) (assert-eq (meta f) (when-meta {:fnl/docstring "docstring" - :fnl/arglist ["\n [x]" - "\n [x y]" - "\n [x y & z]"]})))) + :fnl/arglist ["\n ([x])" + "\n ([x y])" + "\n ([x y & z])"]})))) (deftest fn+ (testing "fn+ meta" |