mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 04:58:08 +03:00
test: fixes +to-wain (no more trailing empty lines)
This commit is contained in:
parent
ebd4c8d264
commit
a7ef000e81
@ -18,12 +18,12 @@
|
||||
:: empty string works fine
|
||||
::
|
||||
%+ expect-eq
|
||||
!> ~['']
|
||||
!> ~
|
||||
!> (to-wain '')
|
||||
:: leading/trailing/consecutive newlines all work fine
|
||||
::
|
||||
%+ expect-eq
|
||||
!> ~['' 'hi' '' '' 'there' '']
|
||||
!> ~['' 'hi' '' '' 'there']
|
||||
!> (to-wain '\0ahi\0a\0a\0athere\0a')
|
||||
==
|
||||
:: join a list of lines (cords) into a single cord
|
||||
|
Loading…
Reference in New Issue
Block a user