<commit_before>package docker

import (
	"testing"
)

func TestGetFinalName(t *testing.T) {
	var tests = []struct {
		serviceFullName string
		want            string
	}{
		{
			`dashboard_deploy`,
			`dashboard`,
		},
		{
			`dashboard`,
			`dashboard`,
		},
	}

	for _, test := range tests {
		if result := getFinalName(test.serviceFullName); result != test.want {
			t.Errorf(`getFinalName(%v) = %v, want %v`, test.serviceFullName, result, test.want)
		}
	}
}
<commit_msg>Adding test for service full name<commit_after>package docker

import (
	"testing"
)

func TestGetServiceFullName(t *testing.T) {
	var tests = []struct {
		app     string
		service string
		want    string
	}{
		{
			`dashboard`,
			`api`,
			`dashboard_api_deploy`,
		},
	}

	for _, test := range tests {
		if result := getServiceFullName(test.app, test.service); result != test.want {
			t.Errorf(`getServiceFullName(%v, %v) = %v, want %v`, test.app, test.service, result, test.want)
		}
	}
}

func TestGetFinalName(t *testing.T) {
	var tests = []struct {
		serviceFullName string
		want            string
	}{
		{
			`dashboard_deploy`,
			`dashboard`,
		},
		{
			`dashboard`,
			`dashboard`,
		},
	}

	for _, test := range tests {
		if result := getFinalName(test.serviceFullName); result != test.want {
			t.Errorf(`getFinalName(%v) = %v, want %v`, test.serviceFullName, result, test.want)
		}
	}
}

{'fraction_non_alphanumeric': 0.14960058097313, 'fraction_numerical': 0.0, 'mean_word_length': 3.188449848024316, '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': '3705045', 'n_tokens_mistral': 546, 'n_tokens_neox': 495, 'n_words': 107}