mirror of
https://github.com/DominicBreuker/pspy.git
synced 2026-03-25 17:35:56 +00:00
add tests for fswatcher package
This commit is contained in:
@@ -9,7 +9,9 @@ import (
|
||||
)
|
||||
|
||||
func TestInotify(t *testing.T) {
|
||||
i, err := NewInotify()
|
||||
i := NewInotify()
|
||||
|
||||
err := i.Init()
|
||||
expectNoError(t, err)
|
||||
|
||||
err = i.Watch("testdata/folder")
|
||||
|
||||
Reference in New Issue
Block a user