<commit_before>package monitor

import "testing"
import "reflect"

/*
func TestFSMonitorStart(t *testing.T) {
	fsMonitor := FSMonitor{MonitorName: "cstuff/test_fs_monitor"}
	channel := make(chan string)
	err := fsMonitor.Start(channel)
	for {
		b := <-channel
		fmt.Println(b)
		t.Fail()
	}
}
*/

func TestRunCommandAndSlurpOutput( t *testing.T) {
	t.Fail()
	t.Error("BOOGERS")
	command := "echo"
	arguments := []string{}
	expected := []string{}
	actual,err := runCommandAndSlurpOutput(command,arguments)
	if err != nil {
		t.Error("Echo Errored")
	}
	if !reflect.DeepEqual(actual, expected) {
		t.Error("Expected Nothing but Got:",actual)	
	}
}<commit_msg>First Test<commit_after>package monitor

import "testing"
import "reflect"

type testCommandData struct{
	command	  string
	arguments []string
	expected  []string
}

func TestRunCommandAndSlurpOutput( t *testing.T) {
		
	testArray := []testCommandData{{"echo",[]string{},[]string{}},
				{"echo",[]string{"hello"},[]string{"hello"}},
				{"echo",[]string{"-e","Hello\nWorld"},[]string{"Hello","World"}}}
	for _, item := range(testArray) {
		actual,err := runCommandAndSlurpOutput(item.command,item.arguments)
		if err != nil {
			t.Error("Echo Errored")
		}
		if !reflect.DeepEqual(actual, item.expected) {
			t.Error("Expected Nothing but Got:",actual)	
		}
	}
}

{'fraction_non_alphanumeric': 0.17335352006056018, 'fraction_numerical': 0.0, 'mean_word_length': 5.12037037037037, 'pattern_counts': {'":': 0, '<': 4, '<?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': '6059667', 'n_tokens_mistral': 490, 'n_tokens_neox': 466, 'n_words': 89}