Skip to content

Commit

Permalink
jock: don't run tests repeatedly
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusmiguel committed Dec 3, 2024
1 parent eba0ce2 commit 2f5f54a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions hoon/lib/test-jock.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
==
::
++ test-jocks
~+
^- (list [term tang])
:~ [%test-let-edit-tokens test-tokenize:test-let-edit]
[%test-let-edit-jeam test-jeam:test-let-edit]
Expand Down Expand Up @@ -174,14 +175,10 @@
|-
?: =(i len)
(flop lis)
=/ res=(unit *)
%- mole
|.
=/ arm (snag i test-jocks)
~& ["{<i>}" `@tas`-.arm `tape`(zing (turn +.arm |=(=tank ~(ram re tank))))]
+.arm
=/ [tag=@tas tan=tang] (snag i test-jocks)
~& ["{<i>}" tag `tape`(zing (turn tan |=(=tank ~(ram re tank))))]
=. lis
[?=(^ res) lis]
[?=(~ tan) lis]
$(i +(i))
::
:: ++ test
Expand Down

0 comments on commit 2f5f54a

Please sign in to comment.