From 8d61ace2b499d18f860df4e13a611549056c882c Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 30 Jun 2016 14:47:18 -0700 Subject: [PATCH] checksums: fix test using. --- basis/checksums/md5/md5-tests.factor | 5 +++-- basis/checksums/sha/sha-tests.factor | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/basis/checksums/md5/md5-tests.factor b/basis/checksums/md5/md5-tests.factor index 04905db737..d1645430f8 100644 --- a/basis/checksums/md5/md5-tests.factor +++ b/basis/checksums/md5/md5-tests.factor @@ -1,7 +1,8 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: byte-arrays checksums checksums.md5 io.encodings.binary -io.streams.byte-array kernel math.parser sequences tools.test ; +USING: byte-arrays checksums checksums.common checksums.md5 +io.encodings.binary io.streams.byte-array kernel math.parser +sequences tools.test ; { "d41d8cd98f00b204e9800998ecf8427e" } [ "" >byte-array md5 checksum-bytes bytes>hex-string ] unit-test { "0cc175b9c0f1b6a831c399e269772661" } [ "a" >byte-array md5 checksum-bytes bytes>hex-string ] unit-test diff --git a/basis/checksums/sha/sha-tests.factor b/basis/checksums/sha/sha-tests.factor index 58190ef4a2..7ac9e17243 100644 --- a/basis/checksums/sha/sha-tests.factor +++ b/basis/checksums/sha/sha-tests.factor @@ -1,6 +1,6 @@ -USING: arrays checksums checksums.sha checksums.sha.private -io.encodings.binary io.streams.byte-array kernel math.parser -sequences tools.test ; +USING: arrays checksums checksums.common checksums.sha +checksums.sha.private io.encodings.binary io.streams.byte-array +kernel math.parser sequences tools.test ; IN: checksums.sha.tests : test-checksum ( text identifier -- checksum )