Skip to content

Commit

Permalink
fix typos in comments and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoVeille committed Nov 7, 2023
1 parent 331c520 commit 3178dd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assert/assertions_test.go
Expand Up @@ -844,7 +844,7 @@ func TestNotEqualValues(t *testing.T) {
{new(AssertionTesterConformingObject), new(AssertionTesterConformingObject), false},
{&struct{}{}, &struct{}{}, false},

// Different behaviour from NotEqual()
// Different behavior from NotEqual()
{func() int { return 23 }, func() int { return 24 }, true},
{int(10), int(11), true},
{int(10), uint(10), false},
Expand Down
2 changes: 1 addition & 1 deletion suite/suite_test.go
Expand Up @@ -21,7 +21,7 @@ import (
type SuiteRequireTwice struct{ Suite }

// TestSuiteRequireTwice checks for regressions of issue #149 where
// suite.requirements was not initialised in suite.SetT()
// suite.requirements was not initialized in suite.SetT()
// A regression would result on these tests panicking rather than failing.
func TestSuiteRequireTwice(t *testing.T) {
ok := testing.RunTests(
Expand Down

0 comments on commit 3178dd9

Please sign in to comment.