<commit_before>package captainslog

import "testing"

func TestNewMostlyFeaturelessLogger(t *testing.T) {
	_, err := NewMostlyFeaturelessLogger(Local7)
	if err != nil {
		t.Error(err)
	}
}

func TestCreateLogMessage(t *testing.T) {
	msg, err := createLogMessage(Fields{"hello": "world"})

	if err != nil {
		t.Error(err)
	}

	if want, got := "@cee:{\"hello\":\"world\"}", msg; want != got {
		t.Errorf("want '%s', got '%s'", want, got)
	}
}<commit_msg>Problem: travis-ci images do not have syslog - removing a test<commit_after>package captainslog

import "testing"

func TestCreateLogMessage(t *testing.T) {
	msg, err := createLogMessage(Fields{"hello": "world"})

	if err != nil {
		t.Error(err)
	}

	if want, got := "@cee:{\"hello\":\"world\"}", msg; want != got {
		t.Errorf("want '%s', got '%s'", want, got)
	}
}
{'fraction_non_alphanumeric': 0.19216646266829865, 'fraction_numerical': 0.0012239902080783353, 'mean_word_length': 4.417218543046357, 'pattern_counts': {'":': 4, '<': 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': '4351694', 'n_tokens_mistral': 313, 'n_tokens_neox': 301, 'n_words': 74}