Skip to content
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

improve test coverage to 100% #9

Merged
merged 6 commits into from
May 21, 2020
Merged

Conversation

FranciscoMolina02
Copy link
Contributor

Add tests to:

  • lib/xdr/double_float.ex
  • lib/xdr/enum.ex
  • lib/xdr/float.ex
  • lib/xdr/hyper_int.ex
  • lib/xdr/optional.ex
  • lib/xdr/struct.ex
  • lib/xdr/union.ex
  • lib/xdr/variable_array.ex
  • lib/xdr/void.ex
    Remove unused xdr.ex module and its test
    XDR.Error.Enum
    changed :not_valid to :invalid_key and improve the error message
    XDR.Enum
    Add missing validation to encode_xdr/1 review if the declarations have the current key
    XDR.Union
    Improve the new/1 function to return an Union structure
    Improve decode_union_discriminant/2 with better pattern matching
    XDR.VariableArray
    remove optional length to the new/1 function

lib/xdr/enum.ex Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
test/xdr/void_test.exs Outdated Show resolved Hide resolved
@juanhurtado10 juanhurtado10 merged commit 983c717 into v0.1.3-dev May 21, 2020
@juanhurtado10 juanhurtado10 deleted the up-coveralls-to-100% branch May 21, 2020 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants