Skip to content

use go:embed for binary test data #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/digitorus/timestamp

go 1.14
go 1.16

require github.com/digitorus/pkcs7 v0.0.0-20200320092839-808436b6f6d1
1 change: 1 addition & 0 deletions testdata/hashedMessage
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
�؁d��#��<q���$Ƞ�U��;IU�~^��U�
Binary file added testdata/reqNoCert
Binary file not shown.
Binary file added testdata/reqNoNonce
Binary file not shown.
Binary file added testdata/reqNonce
Binary file not shown.
Binary file added testdata/respNoCert
Binary file not shown.
Binary file added testdata/respNoNonce
Binary file not shown.
Binary file added testdata/respNonce
Binary file not shown.
Binary file added testdata/timeStampToken
Binary file not shown.
47 changes: 29 additions & 18 deletions timestamp_test.go

Large diffs are not rendered by default.