mirror of
https://github.com/astaxie/beego.git
synced 2024-12-23 11:30:49 +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)
|
|
}
|