Skip to content

Commit

Permalink
Fix eval tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mk committed May 24, 2023
1 parent 6568cfc commit ce628df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/nextjournal/clerk/eval_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,14 @@
(mapv #(select-keys % [:nextjournal/width]))))))

(testing "can handle uncounted sequences"
(is (match? [{:nextjournal/viewer {:name `viewer/code-block-viewer}
(is (match? [{:nextjournal/viewer `viewer/code-block-viewer$5dru1FUcVRTRrVKJFbNw4FG2wXmiwB
:nextjournal/value "(range)"}
{:nextjournal/value {:nextjournal/fetch-opts {:blob-id string?}
:nextjournal/hash string?}}]
(eval+extract-doc-blocks "(range)"))))

(testing "assigns folded visibility"
(is (match? [{:nextjournal/viewer {:name `viewer/folded-code-block-viewer}
(is (match? [{:nextjournal/viewer `viewer/folded-code-block-viewer$5dt3F3pXDCJHWEKwRWd1FTwBTC7bQ1
:nextjournal/value "{:some :map}"}
{:nextjournal/value {:nextjournal/fetch-opts {:blob-id string?}
:nextjournal/hash string?}}]
Expand Down

0 comments on commit ce628df

Please sign in to comment.