<commit_before>package gramework

import (
	"github.com/apex/log"
	"testing"
)

func TestLogErrorfShouldNotPanic(t *testing.T) {
	defer func() {
		e := recover()
		if e != nil {
			t.Logf("panic handled while testing log.errorf: %+#v", e)
			t.FailNow()
		}
	}()
	Errorf("test: %v", []string{"test"})
}

func TestFastHTTPLoggerAdapter(t *testing.T) {
	var apexLogger log.Interface = Logger
	logger := NewFastHTTPLoggerAdapter(&apexLogger)
	logger.Printf("printed")
}
<commit_msg>- try fix houndci-bot warnings see https://github.com/gramework/gramework/pull/22#discussion_r167402489<commit_after>package gramework

import (
	"github.com/apex/log"
	"testing"
)

func TestLogErrorfShouldNotPanic(t *testing.T) {
	defer func() {
		e := recover()
		if e != nil {
			t.Logf("panic handled while testing log.errorf: %+#v", e)
			t.FailNow()
		}
	}()
	Errorf("test: %v", []string{"test"})
}

func TestFastHTTPLoggerAdapter(t *testing.T) {
	var apexLogger log.Interface
	apexLogger = Logger
	logger := NewFastHTTPLoggerAdapter(&apexLogger)
	logger.Printf("printed")
}

{'fraction_non_alphanumeric': 0.15566037735849056, 'fraction_numerical': 0.010377358490566037, 'mean_word_length': 4.766304347826087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '6556536', 'n_tokens_mistral': 421, 'n_tokens_neox': 404, 'n_words': 79}