mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-02-13 23:25:10 -05:00
Co-authored-by: colinlyguo <102356659+colinlyguo@users.noreply.github.com> Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
20 lines
360 B
Go
20 lines
360 B
Go
package app
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
"time"
|
|
|
|
"scroll-tech/common/cmd"
|
|
"scroll-tech/common/version"
|
|
)
|
|
|
|
func TestRunBridge(t *testing.T) {
|
|
bridge := cmd.NewCmd(t, "bridge-test", "--version")
|
|
defer bridge.WaitExit()
|
|
|
|
// wait result
|
|
bridge.ExpectWithTimeout(true, time.Second*3, fmt.Sprintf("bridge version %s", version.Version))
|
|
bridge.RunApp(false)
|
|
}
|