mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 11:44:51 +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