lvh / caesium

Modern cryptography (libsodium/NaCl) for Clojure
Eclipse Public License 1.0
180 stars 28 forks source link

Add helpful error message when libsodium fails to load. #60

Closed dspearson closed 4 years ago

dspearson commented 4 years ago

Relates to: #49 and #55

lvh commented 4 years ago

I wonder if there’s a way to write a test for this. Maybe change the load path to a nonexistent directory? Ideas welcome :)

codecov-io commented 4 years ago

Codecov Report

Merging #60 into master will increase coverage by 0.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #60      +/-   ##
=========================================
+ Coverage   97.68%   97.7%   +0.01%     
=========================================
  Files          17      17              
  Lines         778     784       +6     
  Branches        2       2              
=========================================
+ Hits          760     766       +6     
  Misses         16      16              
  Partials        2       2
Impacted Files Coverage Δ
src/caesium/binding.clj 96.29% <100%> (+0.46%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 263e267...c7c871d. Read the comment docs.

lvh commented 4 years ago

Thanks!