style(net): format code (#104)

This commit is contained in:
木杉 2019-01-12 10:56:35 +08:00 committed by Ryan Dahl
parent 3656ab5b99
commit c42686dc36

View File

@ -1,8 +1,8 @@
import {assertEqual, test} from "../testing/mod.ts";
import {Sha1} from "./sha1.ts";
import { assertEqual, test } from "../testing/mod.ts";
import { Sha1 } from "./sha1.ts";
test(function testSha1() {
const sha1 = new Sha1();
sha1.update("abcde");
assertEqual(sha1.toString(), "03de6c570bfe24bfc328ccd7ca46b76eadaf4334")
assertEqual(sha1.toString(), "03de6c570bfe24bfc328ccd7ca46b76eadaf4334");
});