Skip to content

Commit f63432f

Browse files
committed
use go:embed for binary test data
1 parent 54ddd77 commit f63432f

File tree

10 files changed

+19
-9
lines changed

10 files changed

+19
-9
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/digitorus/timestamp
22

3-
go 1.14
3+
go 1.16
44

55
require github.com/digitorus/pkcs7 v0.0.0-20200320092839-808436b6f6d1

testdata/hashedMessage

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�؁d��#��<q���$Ƞ�U��;IU�~^��U�

testdata/reqNoCert

67 Bytes
Binary file not shown.

testdata/reqNoNonce

59 Bytes
Binary file not shown.

testdata/reqNonce

69 Bytes
Binary file not shown.

testdata/respNoCert

1007 Bytes
Binary file not shown.

testdata/respNoNonce

3.55 KB
Binary file not shown.

testdata/respNonce

3.56 KB
Binary file not shown.

testdata/timeStampToken

3.22 KB
Binary file not shown.

timestamp_test.go

Lines changed: 17 additions & 8 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)