Skip to content

Commit

Permalink
fixtures: add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Apr 27, 2016
1 parent 196bcea commit 0de3f7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/fixtures.json
Expand Up @@ -39,6 +39,11 @@
"DER": "303e021d00c1d545da2e4edfbc65e9267d3c0a6fdda41793d0fd945f15acbcf0dd021d009acffda3ca5e7c349c35ba606f0a8f1ec7815b653b51695ca9ee69a6",
"r": "00c1d545da2e4edfbc65e9267d3c0a6fdda41793d0fd945f15acbcf0dd",
"s": "009acffda3ca5e7c349c35ba606f0a8f1ec7815b653b51695ca9ee69a6"
},
{
"DER": "3006020100020100",
"r": "00",
"s": "00"
}
],
"invalid": {
Expand Down

1 comment on commit 0de3f7e

@dcousens
Copy link
Contributor Author

@dcousens dcousens commented on 0de3f7e Apr 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fanatid this is the failing test fixture, it decodes, it doesn't encode. The two should always be chainable, that is, f(x) == f(f(x)) where f is an encode and decode operation.

Please sign in to comment.