We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4767ff9 commit 245de56Copy full SHA for 245de56
1 file changed
plugin_test.go
@@ -4,7 +4,6 @@ import (
4
"fmt"
5
"github.com/devfeel/dotweb/test"
6
"testing"
7
- "time"
8
)
9
10
type testPlugin struct {
@@ -36,15 +35,3 @@ func TestNotifyPlugin_IsValidate(t *testing.T) {
36
35
needShow := true
37
test.Equal(t, needShow, p.IsValidate())
38
}
39
-
40
-func TestNotifyPlugin_Run(t *testing.T) {
41
- app := newConfigDotWeb()
42
- p := NewDefaultNotifyPlugin(app)
43
- go func() {
44
- for {
45
- fmt.Println(p.ModTimes[app.Config.ConfigFilePath])
46
- time.Sleep(time.Duration(600 * time.Millisecond))
47
- }
48
- }()
49
- p.Run()
50
-}
0 commit comments