@@ -21,7 +21,7 @@ import (
21
21
type SuiteRequireTwice struct { Suite }
22
22
23
23
// TestSuiteRequireTwice checks for regressions of issue #149 where
24
- // suite.requirements was not initialised in suite.SetT()
24
+ // suite.requirements was not initialized in suite.SetT()
25
25
// A regression would result on these tests panicking rather than failing.
26
26
func TestSuiteRequireTwice (t * testing.T ) {
27
27
ok := testing .RunTests (
@@ -693,23 +693,23 @@ func TestSubtestPanic(t *testing.T) {
693
693
assert .True (t , suite .inTearDownSuite )
694
694
}
695
695
696
- type unInitialisedSuite struct {
696
+ type unInitializedSuite struct {
697
697
Suite
698
698
}
699
699
700
- // TestUnInitialisedSuites asserts the behaviour of the suite methods when the
701
- // suite is not initialised
702
- func TestUnInitialisedSuites (t * testing.T ) {
700
+ // TestUnInitializedSuites asserts the behavior of the suite methods when the
701
+ // suite is not initialized
702
+ func TestUnInitializedSuites (t * testing.T ) {
703
703
t .Run ("should panic on Require" , func (t * testing.T ) {
704
- suite := new (unInitialisedSuite )
704
+ suite := new (unInitializedSuite )
705
705
706
706
assert .Panics (t , func () {
707
707
suite .Require ().True (true )
708
708
})
709
709
})
710
710
711
711
t .Run ("should panic on Assert" , func (t * testing.T ) {
712
- suite := new (unInitialisedSuite )
712
+ suite := new (unInitializedSuite )
713
713
714
714
assert .Panics (t , func () {
715
715
suite .Assert ().True (true )
0 commit comments