<commit_before>package notify

import "testing"

func TestRuntime(t *testing.T) {
	t.Skip("TODO(rjeczalik)")
}<commit_msg>Add stub for Runtime test<commit_after>package notify

import (
	"reflect"
	"testing"
)

func TestRuntime(t *testing.T) {
	spy, c, cas := &Spy{}, make(chan EventInfo, 1), fixture.Cases(t)
	r, p := newRuntime(spy), cas.path("github.com/rjeczalik/fakerpc")
	calls := &Spy{
		{T: TypeFanin},
		{T: TypeWatch, P: p, E: Delete},
	}
	if err := r.Watch(p, c, Delete); err != nil {
		t.Fatalf("want err=nil; got %v", err)
	}
	if !reflect.DeepEqual(spy, calls) {
		t.Errorf("want spy=%+v; got %+v", calls, spy)
	}
}
{'fraction_non_alphanumeric': 0.1910828025477707, 'fraction_numerical': 0.0015923566878980893, 'mean_word_length': 4.566371681415929, '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': '2920147', 'n_tokens_mistral': 273, 'n_tokens_neox': 267, 'n_words': 63}