@@ -49,9 +49,9 @@ func TestSet(t *testing.T) {
4949 require .Equal (t , opts , o )
5050 })
5151
52- t .Run ("invalid runtime shellcode template" , func (t * testing.T ) {
52+ t .Run ("invalid runtime template" , func (t * testing.T ) {
5353 output , err := Set (nil , nil )
54- require .EqualError (t , err , "invalid runtime shellcode template" )
54+ require .EqualError (t , err , "invalid runtime template" )
5555 require .Nil (t , output )
5656 })
5757
@@ -83,21 +83,21 @@ func TestGet(t *testing.T) {
8383 require .Equal (t , opts , o )
8484 })
8585
86- t .Run ("invalid runtime shellcode " , func (t * testing.T ) {
86+ t .Run ("invalid instance " , func (t * testing.T ) {
8787 opts , err := Get (nil , 0 )
88- require .EqualError (t , err , "invalid runtime shellcode " )
88+ require .EqualError (t , err , "invalid runtime instance " )
8989 require .Nil (t , opts )
9090 })
9191
92- t .Run ("invalid offset to the option stub " , func (t * testing.T ) {
92+ t .Run ("invalid offset" , func (t * testing.T ) {
9393 tpl := make ([]byte , StubSize + 256 )
9494
9595 opts , err := Get (tpl , len (tpl ))
96- require .EqualError (t , err , "invalid offset to the option stub" )
96+ require .EqualError (t , err , "invalid offset of the runtime option stub" )
9797 require .Nil (t , opts )
9898 })
9999
100- t .Run ("invalid runtime option stub" , func (t * testing.T ) {
100+ t .Run ("invalid option stub" , func (t * testing.T ) {
101101 tpl := make ([]byte , StubSize + 256 )
102102
103103 opts , err := Get (tpl , len (tpl )- StubSize )
0 commit comments