We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd321cf commit 4767ff9Copy full SHA for 4767ff9
1 file changed
dotweb_test.go
@@ -29,7 +29,7 @@ func Test_RunMode_2(t *testing.T) {
29
}
30
31
32
-//测试IsDevelopmentMode函数
+// 测试IsDevelopmentMode函数
33
func Test_IsDevelopmentMode_1(t *testing.T) {
34
app := New()
35
app.Config.App.RunMode = "development"
@@ -45,14 +45,6 @@ func Test_IsDevelopmentMode_2(t *testing.T) {
45
t.Log("Run IsDevelopmentMode :", b)
46
47
48
-func TestDotWeb_UsePlugin(t *testing.T) {
49
- app := newConfigDotWeb()
50
- app.UsePlugin(new(testPlugin))
51
- app.UsePlugin(NewDefaultNotifyPlugin(app))
52
- fmt.Println(app.pluginMap)
53
- app.StartServer(8081)
54
-}
55
-
56
func newConfigDotWeb() *DotWeb {
57
58
appConfig, err := config.InitConfig("config/testdata/dotweb.conf", "xml")
0 commit comments