File:  [parser3project] / parser3 / tests / 399.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sun Nov 24 23:30:22 2019 UTC (6 years, 9 months ago) by moko
Branches: MAIN
CVS tags: HEAD
tests for ^base64 encode options added (related to feature #986)

@main[]

1. ^try-catch{^file:base64[;;bug]}

2. ^file:base64[001.html; ]
3. ^file:base64[001.html; $.pad(false) ]

4. ^file:base64[396.tiff; $.wrap(false) ]
5. $f[^file::load[binary;396.tiff]] ^f.base64[ $.wrap(false) $.pad(false) ]

$s[xxxxxxxxxxxxxxxxxxxxxx]

6. ^s.base64[ $.pad(1) ]
7. ^s.base64[ $.pad(0) ]

E-mail: