mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 04:30:57 +00:00
15 lines
299 B
Go
15 lines
299 B
Go
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)
|
|
}
|