@@ -23,7 +23,7 @@ func TestMakePSSHBox_Widevine(t *testing.T) {
23
23
panic (err .Error ())
24
24
}
25
25
26
- psshBox , err := makePSSHBox (wvSystemID , payload )
26
+ psshBox , err := MakePSSHBox (wvSystemID , payload )
27
27
require .NoError (t , err )
28
28
29
29
require .EqualString (t , string (expectedPSSH ), string (psshBox ))
@@ -46,18 +46,18 @@ func TestMakePSSHBox_Playready(t *testing.T) {
46
46
panic (err .Error ())
47
47
}
48
48
49
- psshBox , err := makePSSHBox (wvSystemID , payload )
49
+ psshBox , err := MakePSSHBox (wvSystemID , payload )
50
50
require .NoError (t , err )
51
51
52
52
require .EqualString (t , string (expectedPSSH ), string (psshBox ))
53
53
}
54
54
55
55
func TestMakePSSHBox_BadSystemID (t * testing.T ) {
56
- _ , err := makePSSHBox ([]byte ("meaningless byte array" ), nil )
56
+ _ , err := MakePSSHBox ([]byte ("meaningless byte array" ), nil )
57
57
require .EqualError (t , err , "SystemID must be 16 bytes, was: 22" )
58
58
}
59
59
60
60
func TestMakePSSHBox_NilSystemID (t * testing.T ) {
61
- _ , err := makePSSHBox (nil , nil )
61
+ _ , err := MakePSSHBox (nil , nil )
62
62
require .EqualError (t , err , "SystemID must be 16 bytes, was: 0" )
63
63
}
0 commit comments