<commit_before>package goyesql

import (
	"testing"
)

func TestParseLine(t *testing.T) {
	tests := map[string]parsedLine{
		" ":              parsedLine{lineBlank, ""},
		" SELECT * ":     parsedLine{lineQuery, "SELECT *"},
		" -- name: tag ": parsedLine{lineTag, "tag"},
		" -- comment ":   parsedLine{lineComment, "comment"},
	}

	for line, expected := range tests {
		parsed := parseLine(line)

		if parsed != expected {
			t.Errorf("Invalid line parsing. Expected '%v', got '%v'", expected, parsed)
		}
	}
}<commit_msg>gofmt -s, remove redundant parsedLine structs<commit_after>package goyesql

import (
	"testing"
)

func TestParseLine(t *testing.T) {
	tests := map[string]parsedLine{
		" ":              {lineBlank, ""},
		" SELECT * ":     {lineQuery, "SELECT *"},
		" -- name: tag ": {lineTag, "tag"},
		" -- comment ":   {lineComment, "comment"},
	}

	for line, expected := range tests {
		parsed := parseLine(line)

		if parsed != expected {
			t.Errorf("Invalid line parsing. Expected '%v', got '%v'", expected, parsed)
		}
	}
}
{'fraction_non_alphanumeric': 0.175, 'fraction_numerical': 0.0, 'mean_word_length': 3.3556485355648538, 'pattern_counts': {'":': 8, '<': 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': '6468932', 'n_tokens_mistral': 376, 'n_tokens_neox': 355, 'n_words': 83}