diff --git a/extra/tr/tr-tests.factor b/extra/tr/tr-tests.factor index 1eea69ba07..c168f5384d 100644 --- a/extra/tr/tr-tests.factor +++ b/extra/tr/tr-tests.factor @@ -5,3 +5,4 @@ TR: tr-test ch>upper "ABC" "XYZ" ; [ "XXYY" ] [ "aabb" tr-test ] unit-test [ "XXYY" ] [ "AABB" tr-test ] unit-test +[ { 12345 } ] [ { 12345 } tr-test ] unit-test diff --git a/extra/tr/tr.factor b/extra/tr/tr.factor index a95d308d36..b5ad2ba430 100644 --- a/extra/tr/tr.factor +++ b/extra/tr/tr.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: byte-arrays strings sequences sequences.private -fry kernel words parser lexer assocs ; +fry kernel words parser lexer assocs math.order ; IN: tr