mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04: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 TestRunProver(t *testing.T) {
|
|
prover := cmd.NewCmd("prover-test", "--version")
|
|
defer prover.WaitExit()
|
|
|
|
// wait result
|
|
prover.ExpectWithTimeout(t, true, time.Second*3, fmt.Sprintf("prover version %s", version.Version))
|
|
prover.RunApp(nil)
|
|
}
|