Debian Codegraph @

debian/patches/0002_Test_Debian_Logo.patch

raw
1 Patch the digest tests for the new, DFSG-compliant Debian logo we use instead
2 of the non-free Clojure one.
3 Index: clj-digest-clojure/test/digest_test.clj
4 ===================================================================
5 --- clj-digest-clojure.orig/test/digest_test.clj
6 +++ clj-digest-clojure/test/digest_test.clj
7 @@ -26,12 +26,12 @@
8 (is (= '([message])
9 (:arglists (meta #'md5)))))
10
11 -(def ^:dynamic *logo-md5* "38cf20fa3c9dc72be56965eb1c311dfa")
12 +(def ^:dynamic *logo-md5* "59ef6e166bab377a48a348be2ac46c15")
13 (def ^:dynamic *logo-sha256*
14 - "42c2af2a0509832f39d0cef3ecd1612b7857c55abbe2170470eabb2a0318701c")
15 + "ff83aa6a4f8597ef45742e4c4837f1964fa14bd64a950388bce0bfe987acbd32")
16
17 (deftest file-test
18 - (let [f (File. "test/clojure.png")]
19 + (let [f (File. "test/debian.png")]
20 (is (= (md5 f) *logo-md5*))
21 (is (= (sha-256 f) *logo-sha256*))))
22