<commit_before>package api

import "testing"

func TestGetRegistryAuth(t *testing.T) {
	tt := []struct {
		input       string
		expected    string
		expectedErr error
	}{
		{"ImageName", "RegistryAuth", nil},
	}
	for _, v := range tt {
		actual, err := GetRegistryAuth(v.input)
		if err != nil {
			t.Errorf("\nran GetNetwork(%#+v) \ngot %s \nwanted %#+v", v.input, err, v.expected)
		}
		if actual != v.expected {
			t.Errorf("\nran GetNetwork(%#+v) \ngot %#+v \nwanted %#+v", v.input, actual, v.expected)
		}
	}
}
<commit_msg>addede more tests<commit_after>package api

import "testing"

func TestGetRegistryAuth(t *testing.T) {
	tt := []struct {
		input       string
		expected    string
		expectedErr error
	}{
		{"ImageName", "RegistryAuth", nil},
	}
	for _, v := range tt {
		actual, err := GetRegistryAuth(v.input)
		if err != nil {
			t.Errorf("\nran GetRegistryAuth(%#+v) \ngot %s \nwanted %#+v", v.input, err, v.expected)
		}
		if actual != v.expected {
			t.Errorf("\nran GetRegistryAuth(%#+v) \ngot %#+v \nwanted %#+v", v.input, actual, v.expected)
		}
	}
}

{'fraction_non_alphanumeric': 0.17570093457943925, 'fraction_numerical': 0.0, 'mean_word_length': 3.3714285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1949955', 'n_tokens_mistral': 436, 'n_tokens_neox': 405, 'n_words': 100}