mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
hoon: re-fix +slab; /tests: fix clay tests
This commit is contained in:
parent
42de999024
commit
7266b3f5c3
@ -12024,8 +12024,8 @@
|
||||
::
|
||||
++ slab :: test if contains
|
||||
|= [way=?(%read %rite %both) cog=@tas typ=type]
|
||||
?= [%| *]
|
||||
(~(find ut typ) way ~[cog])
|
||||
?= [%& *]
|
||||
(~(fond ut typ) way ~[cog])
|
||||
::
|
||||
++ slap
|
||||
|= {vax/vase gen/hoon} ^- vase :: untyped vase .*
|
||||
|
@ -153,7 +153,7 @@
|
||||
=/ [res=vase nub=state:ford:fusion] (build-file:ford /lib/strandio/hoon)
|
||||
;: weld
|
||||
%- expect
|
||||
!>((slab %get-our -.res))
|
||||
!>((slab %read %get-our -.res))
|
||||
::
|
||||
%+ expect-eq
|
||||
!> %- ~(gas in *(set path))
|
||||
|
Loading…
Reference in New Issue
Block a user