You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mysql_test.go
    path of file: ./repos/sharingan/replayer-agent/utils/protocol/pmysql
    
    the code of the file until where you have to start completion: package pmysql

import (
	"testing"

	"github.com/stretchr/testify/require"
)

func TestDecodePacket(t *testing.T) {

	// test case 通过wireshark 抓包获取
	var testCase = []struct {
		raw       []byte
		expect    packetType
		shouldErr bool
	}{
		{
			raw: []byte{
				0x00, 0x00, 0x0c, 0
    
func TestNoPanic(t *testing.T) {

	// test case 通过wireshark 抓包获取
	var testCase = []struct {
		raw []byte
	}{
		{
			raw: []byte{
				8, 0, 0, 0, 2, 99, 97, 114, 112, 111, 111, 108,
			},
		},
	}
	should := require.New(t)
	for idx, tc := range testCase {
		should.NotPanics(func() {
			actual := DecodePacketWithoutHeader(tc.raw)
			should.Nil(actual, "case #%d fail", idx)
		}, "case #%d fail", idx)
	}
}