Check for new error message in pod-registry test

This commit is contained in:
Wes Morgan 2022-03-23 09:06:10 -06:00
parent 55c5f879d0
commit 4331268803
No known key found for this signature in database
GPG key ID: 5639E4CBFA17DC84
2 changed files with 2 additions and 2 deletions

View file

@ -8,4 +8,4 @@
(println (-> (hash/sha256 "foobar")
(codecs/bytes->hex)))
(pods/load-pod 'org.babashka/etaoin) ;; should cause error when version is missing
(pods/load-pod 'org.babashka/etaoin) ;; should cause error when version & path are missing

View file

@ -25,4 +25,4 @@
(catch Exception e
e)))]
(is (str/includes? (str out) "c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2"))
(is (str/includes? (pr-str ex) "Version must be provided" ))))
(is (str/includes? (pr-str ex) "Version or path must be provided"))))