File: seed_fixture_suite_test.go

package info (click to toggle)
golang-github-onsi-ginkgo-v2 2.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,060 kB
  • sloc: javascript: 59; makefile: 23; sh: 14
file content (21 lines) | stat: -rw-r--r-- 400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package seed_fixture_test

import (
	"testing"

	. "github.com/onsi/ginkgo/v2"
	. "github.com/onsi/gomega"
)

func TestSeedFixture(t *testing.T) {
	RegisterFailHandler(Fail)
	RunSpecs(t, "SeedFixture Suite")
}

var _ = BeforeSuite(func() {
	Ω(GinkgoRandomSeed()).Should(Equal(int64(0)))
})

var _ = It("has the expected seed (namely, 0)", func() {
	Ω(GinkgoRandomSeed()).Should(Equal(int64(0)))
})