<commit_before>package common

import (
	"errors"
	"github.com/effoeffi/watchtower/Godeps/_workspace/src/github.com/stretchr/testify/assert"
	"testing"
)

func TestErrorBuilder(t *testing.T) {
	var ec ErrorBuilder
	ec.Append(errors.New("uno"))
	ec.Append(errors.New("dos"))
	assert.Equal(t, "uno\ndos", ec.ToError().Error())
}

func TestErrorBuilderNoErrors(t *testing.T) {
	var ec ErrorBuilder
	assert.Nil(t, ec.ToError())
}<commit_msg>fix test dependency;<commit_after>package common

import (
	"errors"
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestErrorBuilder(t *testing.T) {
	var ec ErrorBuilder
	ec.Append(errors.New("uno"))
	ec.Append(errors.New("dos"))
	assert.Equal(t, "uno\ndos", ec.ToError().Error())
}

func TestErrorBuilderNoErrors(t *testing.T) {
	var ec ErrorBuilder
	assert.Nil(t, ec.ToError())
}
{'fraction_non_alphanumeric': 0.1640530759951749, 'fraction_numerical': 0.0, 'mean_word_length': 5.535433070866142, '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': '1266469', 'n_tokens_mistral': 319, 'n_tokens_neox': 314, 'n_words': 52}