clay: fix tests

This commit is contained in:
Ted Blackman 2021-02-24 13:07:27 -05:00
parent ce61d49ef9
commit 68e1d92fb4

View File

@ -108,7 +108,7 @@
file-store=~ file-store=~
*ford-cache:fusion *ford-cache:fusion
== ==
=/ [res=vase nub=state:ford:fusion] (get-nave:ford %mime) =/ [res=vase nub=state:ford:fusion] (build-nave:ford %mime)
;: weld ;: weld
%+ expect-eq %+ expect-eq
!>(*mime) !>(*mime)
@ -116,7 +116,7 @@
:: ::
%+ expect-eq %+ expect-eq
!> (~(gas in *(set path)) /mar/mime/hoon ~) !> (~(gas in *(set path)) /mar/mime/hoon ~)
!> dez:(~(got by vases.cache.nub) /mar/mime/hoon) !> dez:(~(got by files.cache.nub) /mar/mime/hoon)
== ==
:: ::
++ test-mar-udon ^- tang ++ test-mar-udon ^- tang
@ -135,7 +135,7 @@
file-store=~ file-store=~
*ford-cache:fusion *ford-cache:fusion
== ==
=/ [res=vase nub=state:ford:fusion] (get-nave:ford %udon) =/ [res=vase nub=state:ford:fusion] (build-nave:ford %udon)
;: weld ;: weld
%+ expect-eq %+ expect-eq
!>(*@t) !>(*@t)
@ -143,7 +143,7 @@
:: ::
%+ expect-eq %+ expect-eq
!> (~(gas in *(set path)) /mar/udon/hoon /lib/cram/hoon ~) !> (~(gas in *(set path)) /mar/udon/hoon /lib/cram/hoon ~)
!> dez:(~(got by vases.cache.nub) /mar/udon/hoon) !> dez:(~(got by files.cache.nub) /mar/udon/hoon)
== ==
:: ::
++ test-cast-html-mime ^- tang ++ test-cast-html-mime ^- tang
@ -161,7 +161,7 @@
file-store=~ file-store=~
*ford-cache:fusion *ford-cache:fusion
== ==
=/ [res=vase nub=state:ford:fusion] (get-cast:ford %html %mime) =/ [res=vase nub=state:ford:fusion] (build-cast:ford %html %mime)
%+ expect-eq %+ expect-eq
(slam res !>('<html></html>')) (slam res !>('<html></html>'))
!> `mime`[/text/html 13 '<html></html>'] !> `mime`[/text/html 13 '<html></html>']
@ -225,7 +225,7 @@
:: ::
%+ expect-eq %+ expect-eq
!> (~(gas in *(set path)) /gen/hello/hoon ~) !> (~(gas in *(set path)) /gen/hello/hoon ~)
!> dez:(~(got by vases.cache.nub) /gen/hello/hoon) !> dez:(~(got by files.cache.nub) /gen/hello/hoon)
== ==
:: ::
++ test-lib-strandio ^- tang ++ test-lib-strandio ^- tang
@ -254,7 +254,7 @@
/lib/strand/hoon /lib/strand/hoon
/sur/spider/hoon /sur/spider/hoon
== ==
!> dez:(~(got by vases.cache.nub) /lib/strandio/hoon) !> dez:(~(got by files.cache.nub) /lib/strandio/hoon)
== ==
:: ::
:: |utilities: helper functions for testing :: |utilities: helper functions for testing