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: expansion_test.go
    path of file: ./repos/beam/sdks/go/test/integration/xlang
    
    the code of the file until where you have to start completion: // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements.  See the NOTICE file distr
    
func TestGetTargetVersion(t *testing.T) {
	var tests = []struct {
		name      string
		input     string
		expOutput string
	}{
		{
			"normal version",
			"2.50.0",
			"2.48.0",
		},
		{
			"dev version",
			"2.10.0.dev",
			"2.8.0",
		},
	}
	for _, test := range tests {
		t.Run(test.name, func(t *testing.T) {
			if got, want := getTargetVersion(test.input), test.expOutput; got != want {
				t.Errorf("got %v, want %v", got, want)
			}
		})
	}
}