<commit_before>package config

import (
	"reflect"
	"testing"
)

func TestConfig_correctDefaulValues(t *testing.T) {
	config := DefaultConfig()

	expected := &Config{
		LogLevel:      "info",
		ListenAddress: "0.0.0.0:3000",

		NewRelicAppName: "hashi-ui",

		NomadReadOnly:    false,
		NomadAddress:     "http://127.0.0.1:4646",
		NomadHideEnvData: false,

		ConsulReadOnly: false,
		ConsulAddress:  "127.0.0.1:8500",
	}

	if !reflect.DeepEqual(config, expected) {
		t.Fatalf("expected \n%#v\n\n, got \n\n%#v\n\n", expected, config)
	}
}<commit_msg>fix tests<commit_after>package config

import (
	"reflect"
	"testing"
)

func TestConfig_correctDefaulValues(t *testing.T) {
	config := DefaultConfig()

	expected := &Config{
		LogLevel:      "info",
		ListenAddress: "0.0.0.0:3000",

		NomadReadOnly:    false,
		NomadAddress:     "http://127.0.0.1:4646",
		NomadHideEnvData: false,

		ConsulReadOnly: false,
		ConsulAddress:  "127.0.0.1:8500",
	}

	if !reflect.DeepEqual(config, expected) {
		t.Fatalf("expected \n%#v\n\n, got \n\n%#v\n\n", expected, config)
	}
}
{'fraction_non_alphanumeric': 0.16823308270676693, 'fraction_numerical': 0.05263157894736842, 'mean_word_length': 3.840909090909091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '6485244', 'n_tokens_mistral': 482, 'n_tokens_neox': 432, 'n_words': 73}