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: reader_test.go
    path of file: ./repos/jira-cli/pkg/netrc
    
    the code of the file until where you have to start completion: package netrc

import (
	"reflect"
	"testing"
)

func Test_parseNetrc(t *testing.T) {
	type args struct {
		data string
	}
	tests := []struct {
		name string
		args args
		want []netrcLine
	}{
		{
			name: "parses netrc file properly",
			args: args{
				data: "machine test.sample.org\nlogin mylogin@sample.org\npassword mypassword",
			},
			want: []netrcLine{
				{
					machine:  "test.sample.org",
					login:    "mylogin@sample.org",
					password: "mypassword",
				},
			},
		},
		{
			name: "does not parse incomplete netrc",
			args: args{
				data: "machine test.sample.org\npassword mypassword",
			},
			want: nil,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			if got := parseNetrc(t
    
func Test_parseNetrc(t *testing.T) {
	type args struct {
		data string
	}
	tests := []struct {
		name string
		args args
		want []netrcLine
	}{
		{
			name: "parses netrc file properly",
			args: args{
				data: "machine test.sample.org\nlogin mylogin@sample.org\npassword mypassword",
			},
			want: []netrcLine{
				{
					machine:  "test.sample.org",
					login:    "mylogin@sample.org",
					password: "mypassword",
				},
			},
		},
		{
			name: "does not parse incomplete netrc",
			args: args{
				data: "machine test.sample.org\npassword mypassword",
			},
			want: nil,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			if got := parseNetrc(tt.args.data); !reflect.DeepEqual(got, tt.want) {
				t.Errorf("parseNetrc() = %v, want %v", got, tt.want)
			}
		})
	}
}