mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
parent
c363fc1de4
commit
708400804a
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
import {assertEqual, test} from "../testing/mod.ts";
|
import { assertEqual, test } from "../testing/mod.ts";
|
||||||
import {Sha1} from "./sha1.ts";
|
import { Sha1 } from "./sha1.ts";
|
||||||
|
|
||||||
test(function testSha1() {
|
test(function testSha1() {
|
||||||
const sha1 = new Sha1();
|
const sha1 = new Sha1();
|
||||||
sha1.update("abcde");
|
sha1.update("abcde");
|
||||||
assertEqual(sha1.toString(), "03de6c570bfe24bfc328ccd7ca46b76eadaf4334")
|
assertEqual(sha1.toString(), "03de6c570bfe24bfc328ccd7ca46b76eadaf4334");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue