mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-14 08:28:02 -05:00
20 lines
358 B
Go
20 lines
358 B
Go
package app
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
"time"
|
|
|
|
"scroll-tech/common/cmd"
|
|
"scroll-tech/common/version"
|
|
)
|
|
|
|
func TestRunRoller(t *testing.T) {
|
|
roller := cmd.NewCmd("roller-test", "--version")
|
|
defer roller.WaitExit()
|
|
|
|
// wait result
|
|
roller.ExpectWithTimeout(t, true, time.Second*3, fmt.Sprintf("roller version %s", version.Version))
|
|
roller.RunApp(nil)
|
|
}
|