packer-cn/packer/plugin/server_test.go

13 lines
183 B
Go

package plugin
import (
"math/rand"
"testing"
)
func TestPluginServerRandom(t *testing.T) {
if rand.Intn(9999999) == 8498210 {
t.Fatal("math.rand is not seeded properly")
}
}