mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 22:03:50 +03:00
Fix test indentation; too many welps.
This commit is contained in:
parent
b6f546da84
commit
c02d374b88
@ -65,16 +65,13 @@
|
||||
[%pin ~1234.5.9 [%scry [%c care=%x bel=[[~nul %desk] /baz/doo]]]]
|
||||
=/ three-schematic=schematic:ford
|
||||
[%pin ~1234.5.3 [%scry [%c care=%x bel=[[~nul %desk] /car/dor]]]]
|
||||
;: welp
|
||||
::
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
[~1234.5.9 (date-from-schematic:ford [three-schematic nine-schematic])]
|
||||
::
|
||||
%- expect-eq !>
|
||||
:- ~1234.5.9
|
||||
%- date-from-schematic:ford
|
||||
[six-schematic [%alts ~[three-schematic nine-schematic]]]
|
||||
==
|
||||
::
|
||||
++ test-unify-jugs
|
||||
~& %test-unify-jugs
|
||||
@ -280,7 +277,7 @@
|
||||
:* duct=~ type=~ %make ~nul
|
||||
[%scry %c care=%x rail=[[~nul %desk] /bar/foo]]
|
||||
==
|
||||
;: welp
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
:- moves
|
||||
:~ :* duct=~ %give %made ~1234.5.6 %complete %result
|
||||
@ -298,6 +295,7 @@
|
||||
^= wrapped-sign ^- (hypo sign:ford) :- *type
|
||||
[%c %wris [%da ~1234.5.7] (sy [%x /foo/bar]~)]
|
||||
==
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
:- moves2
|
||||
:~ :* duct=~ %give %made ~1234.5.7 %complete %result
|
||||
@ -322,7 +320,6 @@
|
||||
%- expect-eq !>
|
||||
:- state-by-ship.+>+<.ford
|
||||
(my [~nul *ford-state:ford-turbo]~)
|
||||
==
|
||||
::
|
||||
++ test-pinned-in-live
|
||||
~& %test-pinned-in-live
|
||||
@ -341,11 +338,12 @@
|
||||
[%result %same %result %pin ~1234.5.6 %result [%scry %noun !>(42)]]
|
||||
::
|
||||
=^ moves ford (call:ford [duct=~ type=~ %make ~nul schematic])
|
||||
;: welp
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
:- moves
|
||||
[duct=~ %give %made ~1234.5.6 %complete result]~
|
||||
::
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
:- results:(~(got by state-by-ship.+>+<.ford) ~nul)
|
||||
%- my :~
|
||||
@ -376,7 +374,6 @@
|
||||
%- expect-eq !>
|
||||
:- state-by-ship.+>+<.ford
|
||||
(my [~nul *ford-state:ford-turbo]~)
|
||||
==
|
||||
::
|
||||
++ test-live-build-that-blocks
|
||||
~& %test-live-build-that-blocks
|
||||
@ -392,7 +389,7 @@
|
||||
:* duct=~ type=~ %make ~nul
|
||||
[%scry %c care=%x rail=[[~nul %desk] /bar/foo]]
|
||||
==
|
||||
;: welp
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
:- moves
|
||||
:~ :* duct=~ %pass
|
||||
@ -413,6 +410,7 @@
|
||||
^= wrapped-sign ^- (hypo sign:ford) :- *type
|
||||
[%c %wris [%da ~1234.5.7] (sy [%x /foo/bar]~)]
|
||||
==
|
||||
::
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
:- moves2
|
||||
@ -428,6 +426,7 @@
|
||||
^= wrapped-sign ^- (hypo sign:ford) :- *type :: ^- sign:ford
|
||||
[%c %writ ~ [%x [%da ~1234.5.6] %desk] /bar/foo %noun !>(42)]
|
||||
==
|
||||
::
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
:- moves3
|
||||
@ -452,7 +451,6 @@
|
||||
%- expect-eq !>
|
||||
:- state-by-ship.+>+<.ford
|
||||
(my [~nul *ford-state:ford-turbo]~)
|
||||
==
|
||||
::
|
||||
++ test-live-and-once
|
||||
~& %test-live-and-once
|
||||
@ -468,7 +466,7 @@
|
||||
:* duct=~[/live] type=~ %make ~nul
|
||||
[%scry %c care=%x rail=[[~nul %desk] /bar/foo]]
|
||||
==
|
||||
;: welp
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
:- moves
|
||||
:~ :* duct=~ %pass
|
||||
@ -488,6 +486,7 @@
|
||||
:* duct=~[/once] type=~ %make ~nul
|
||||
[%pin ~1234.5.6 [%scry %c ren=%x rail=[[~nul %desk] /bar/foo]]]
|
||||
==
|
||||
::
|
||||
%+ welp
|
||||
%- expect-eq !>
|
||||
[moves ~]
|
||||
@ -524,9 +523,6 @@
|
||||
%- expect-eq !>
|
||||
:- state-by-ship.+>+<.ford
|
||||
(my [~nul *ford-state:ford-turbo]~)
|
||||
::
|
||||
~
|
||||
==
|
||||
::
|
||||
:: |utilities: helper arms
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user