-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decode #13 #17
Decode #13 #17
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 14 20 +6
=========================================
+ Hits 14 20 +6
Continue to review full report at Codecov.
|
@@ -0,0 +1,88 @@ | |||
defmodule Base58Test do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know why GitHub thinks this is a new file, I just renamed it.
.then
added a few new tests. 📝
@@ -1,13 +1,13 @@ | |||
defmodule Base58Encode.MixProject do | |||
defmodule Base58.MixProject do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename #16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to_char_list
can be replaced byto_charlist
- The example is not running as it tries to called the module with the old name.
I'm going to create a commit to fix these two points above.
Otherwise looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,8 +1,10 @@ | |||
defmodule Example do | |||
|
|||
hello = "hello" | |||
helloBase58 = Base58Encode.encode(hello) | |||
helloBase58 = Base58.encode(hello) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SimonLab thanks for updating the example. 👍
@SimonLab thanks for updating the example. 👍 Please merge if you're happy with it. |
This PR:
decode/1
function Base58 decode #13integer
,float
andatom
values. Why :error when data is not binary? #14README.md
: https://github.com/dwyl/base58/tree/decode-issue%2313It can only be merged once we've looked at the the Module name; currently
Base58Encode
#16Publishing a new version is dependent on #15