summary refs log tree commit diff stats
path: root/tests/stdlib/tmd5.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-05-02 16:49:17 +0800
committerGitHub <noreply@github.com>2023-05-02 10:49:17 +0200
commitafc30ca87948c11f603f6686d4b10d3dcc27776a (patch)
treed52781ac11128914f43fce51fa8c59fb54bb7acf /tests/stdlib/tmd5.nim
parent2844ac8b5eb6efce18e10b246e874719b20d36b2 (diff)
downloadNim-afc30ca87948c11f603f6686d4b10d3dcc27776a.tar.gz
fixes #19863; move sha1, md5 to nimble packages for 2.0 (#21702)
* move sha1, md5 to nimble packages

* boot the compiler

* fixes tests

* build the documentation

* fixes docs

* lol, I forgot koch.nim

* add `nimHasChecksums` define

* clone checksums but maybe copying is better

* bump nimble hash

* use ChecksumsStableCommit

* fixes tests

* deprecate them

* fixes paths

* fixes koch
Diffstat (limited to 'tests/stdlib/tmd5.nim')
-rw-r--r--tests/stdlib/tmd5.nim18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/stdlib/tmd5.nim b/tests/stdlib/tmd5.nim
deleted file mode 100644
index 37c2f17d7..000000000
--- a/tests/stdlib/tmd5.nim
+++ /dev/null
@@ -1,18 +0,0 @@
-discard """
-  matrix: "--mm:refc; --mm:orc"
-  targets: "c cpp js"
-"""
-
-import md5
-import std/assertions
-
-proc main() {.raises: [].} =
-  doAssert(getMD5("Franz jagt im komplett verwahrlosten Taxi quer durch Bayern") ==
-    "a3cca2b2aa1e3b5b3b5aad99a8529074")
-  doAssert(getMD5("Frank jagt im komplett verwahrlosten Taxi quer durch Bayern") ==
-    "7e716d0e702df0505fc72e2b89467910")
-  doAssert($toMD5("") == "d41d8cd98f00b204e9800998ecf8427e")
-
-main()
-
-static: main()