<commit_before>package main

import "testing"

func Test_readFileByLines(t *testing.T) {
	file, err := readFile("go-cover-cli_test.go")
	if err != nil {
		t.Errorf("Got error: %s", err)
	}
	if len(file) == 0 {
		t.Errorf("File empty")
	}<commit_msg>Fixed test<commit_after>package main

import "testing"

func Test_readFileByLines(t *testing.T) {
	file, err := readFile("go-carpet_test.go")
	if err != nil {
		t.Errorf("Got error: %s", err)
	}
	if len(file) == 0 {
		t.Errorf("File empty")
	}
{'fraction_non_alphanumeric': 0.17276422764227642, 'fraction_numerical': 0.0040650406504065045, 'mean_word_length': 4.301075268817204, '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': '4393875', 'n_tokens_mistral': 206, 'n_tokens_neox': 195, 'n_words': 45}