mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 03:10:18 +00:00
change admin to toolbox & support task
This commit is contained in:
14
toolbox/profile_test.go
Normal file
14
toolbox/profile_test.go
Normal file
@ -0,0 +1,14 @@
|
||||
package toolbox
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestProcessInput(t *testing.T) {
|
||||
ProcessInput("lookup goroutine", os.Stdout)
|
||||
ProcessInput("lookup heap", os.Stdout)
|
||||
ProcessInput("lookup threadcreate", os.Stdout)
|
||||
ProcessInput("lookup block", os.Stdout)
|
||||
ProcessInput("gc summary", os.Stdout)
|
||||
}
|
Reference in New Issue
Block a user