From: John Benediktsson Date: Thu, 4 Mar 2021 23:11:48 +0000 (-0800) Subject: punycode: fix the tests (got the direction wrong). X-Git-Tag: 0.99~2564 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=2956432062878dfec60e88b54072b0be00151ff1 punycode: fix the tests (got the direction wrong). --- diff --git a/extra/punycode/punycode-tests.factor b/extra/punycode/punycode-tests.factor index 07f567e526..950ac86df8 100644 --- a/extra/punycode/punycode-tests.factor +++ b/extra/punycode/punycode-tests.factor @@ -149,5 +149,5 @@ tools.test urls ; [ 1array swap '[ _ >idna ] unit-test ] 2bi ] assoc-each -{ URL" http://例子.卷筒纸" } [ URL" http://xn--fsqu00a.xn--3lr804guic/" >idna ] unit-test -{ URL" http://xn--fsqu00a.xn--3lr804guic/" } [ URL" http://例子.卷筒纸" idna> ] unit-test +{ URL" http://例子.卷筒纸" } [ URL" http://xn--fsqu00a.xn--3lr804guic/" idna> ] unit-test +{ URL" http://xn--fsqu00a.xn--3lr804guic/" } [ URL" http://例子.卷筒纸" >idna ] unit-test