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: parse_test.go
    path of file: ./repos/trivy/pkg/dependency/parser/golang/mod
    
    the code of the file until where you have to start completion: package mod

import (
	"os"
	"sort"
	"testing"

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

	"github.com/aquasecurity/trivy/pkg/dependency/parser/types"
)

func TestParse(t *testing.T) {
	tests := []struct {
		name    string
		file    string
		replace bool
		want    []types.Library
	}{
		{
			name:    "normal",
			file:    "testdata/normal/go.mod",
			replace: true,
			want:    GoModNormal,
		},
		{
			name:    "without go version",
			
    
func TestModuleID(t *testing.T) {
	type args struct {
		name    string
		version string
	}
	tests := []struct {
		name string
		args args
		want string
	}{
		{
			name: "normal",
			args: args{
				name:    "github.com/aquasecurity/trivy",
				version: "0.38.0",
			},
			want: "github.com/aquasecurity/trivy@v0.38.0",
		},
		{
			name: "pseudo version",
			args: args{
				name:    "github.com/aquasecurity/go-dep-parser",
				version: "0.0.0-20230130190635-5e31092b0621",
			},
			want: "github.com/aquasecurity/go-dep-parser@v0.0.0-20230130190635-5e31092b0621",
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			assert.Equalf(t, tt.want, ModuleID(tt.args.name, tt.args.version), "ModuleID(%v, %v)", tt.args.name, tt.args.version)
		})
	}
}