Skip to content

Commit

Permalink
refactor(testdata): move to sub dir
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Oct 23, 2023
1 parent ddf7085 commit cbcf9cc
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cdm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ type fakeSource struct{}
func (f fakeSource) Int63() int64 { return 0 }
func (f fakeSource) Seed(_ int64) {}

//go:embed testdata/pssh
//go:embed testdata/license/pssh
var psshData []byte

//go:embed testdata/license-challenge
//go:embed testdata/license/license-challenge
var licenseChallenge []byte

//go:embed testdata/license
//go:embed testdata/license/license
var license []byte

func TestNewCDM(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion widevine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
wvpb "github.com/iyear/gowidevine/widevinepb"
)

//go:embed testdata/service-cert
//go:embed testdata/license/service-cert
var serviceCert []byte

func TestParseServiceCert(t *testing.T) {
Expand Down

0 comments on commit cbcf9cc

Please sign in to comment.