<commit_before>package icmp_test

import (
	"testing"

	"github.com/mehrdadrad/mylg/icmp"
)

func TestNewTrace(t *testing.T) {
	_, err := icmp.NewTrace("google.com -n -nr -m 30")
	if err != nil {
		t.Error("unexpected error. expected %v, actual %v", nil, err)
	}
}<commit_msg>added config to trace test<commit_after>package icmp_test

import (
	"testing"

	"github.com/mehrdadrad/mylg/cli"
	"github.com/mehrdadrad/mylg/icmp"
)

func TestNewTrace(t *testing.T) {
	cfg, _ := cli.ReadDefaultConfig()
	_, err := icmp.NewTrace("google.com -n -nr -m 30", cfg)
	if err != nil {
		t.Error("unexpected error. expected %v, actual %v", nil, err)
	}
}
{'fraction_non_alphanumeric': 0.1643192488262911, 'fraction_numerical': 0.006259780907668232, 'mean_word_length': 4.0, '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': '6770107', 'n_tokens_mistral': 272, 'n_tokens_neox': 265, 'n_words': 58}