USING: hipku tools.test ;
-{ "The hungry white ape\naches in the ancient canyon.\nAutumn Colors crunch." } [
+{ "The hungry white ape\naches in the ancient canyon.\nAutumn colors crunch." } [
"127.0.0.1" >hipku
] unit-test
{ "127.0.0.1" } [
- "The hungry white ape\naches in the ancient canyon.\nAutumn Colors crunch."
+ "The hungry white ape\naches in the ancient canyon.\nAutumn colors crunch."
hipku>
] unit-test
: encode-hipku ( key schema -- hipku )
[
{
- { Octet [ dup pop >title ] }
+ { Octet [ dup pop unclip ch>upper prefix ] }
{ octet [ dup pop ] }
{ octet. [ dup pop "." append ] }
[ ]