@@ -184,7 +184,7 @@ func spawnCase(t *testing.T) {
184184 t .Fatalf ("Failed to find my own executable: %v" , err )
185185 }
186186 c := exec .Command (ep , "--test.run=" + t .Name ())
187- // Set the environment variable so that we know we're in a subproceess when re-executed
187+ // Set the environment variable so that we know we're in a subprocess when re-executed
188188 c .Env = append (c .Env , envVar + "=true" )
189189 out , err := c .CombinedOutput ()
190190 // If we do not get an error, we fail in the parent process, otherwise we're good
@@ -310,9 +310,9 @@ func expandedLazy(m *testopaquepb.TestRequiredLazy) bool {
310310 return rf .Pointer () != 0
311311}
312312
313- // This test verifies all assumptions of TestParallellMarshalWithRequired
313+ // This test verifies all assumptions of TestParallelMarshalWithRequired
314314// are (still) valid, to prevent the test from becoming a no-op (again).
315- func TestParallellMarshalWithRequiredAssumptions (t * testing.T ) {
315+ func TestParallelMarshalWithRequiredAssumptions (t * testing.T ) {
316316 b , err := proto .Marshal (fillRequiredLazy ())
317317 if err != nil {
318318 t .Fatal (err )
@@ -347,12 +347,12 @@ func TestParallellMarshalWithRequiredAssumptions(t *testing.T) {
347347 }
348348}
349349
350- // TestParallellMarshalWithRequired runs two goroutines that marshal the same
350+ // TestParallelMarshalWithRequired runs two goroutines that marshal the same
351351// message. Marshaling a message can result in lazily decoding said message,
352352// provided the message contains any required fields. This test ensures that
353353// said lazy decoding can happen without causing races in the other goroutine
354354// that marshals the same message.
355- func TestParallellMarshalWithRequired (t * testing.T ) {
355+ func TestParallelMarshalWithRequired (t * testing.T ) {
356356 m := fillRequiredLazy ()
357357 b , err := proto.MarshalOptions {}.Marshal (m )
358358 if err != nil {
@@ -432,7 +432,7 @@ func fillMixedOpaqueLazy() *mixedpb.OpaqueLazy {
432432 }.Build ()
433433}
434434
435- func TestParallellMarshalMixed (t * testing.T ) {
435+ func TestParallelMarshalMixed (t * testing.T ) {
436436 m := fillMixedOpaqueLazy ()
437437 b , err := proto .Marshal (m )
438438 if err != nil {
0 commit comments