@@ -30,7 +30,7 @@ import (
3030// All can be used as a parameter for expected.Output to group a set of comparators. 
3131func  All (comparators  ... test.Comparator ) test.Comparator  {
3232	//nolint:thelper 
33- 	return  func (stdout   string , info  string , t  * testing.T ) {
33+ 	return  func (stdout , info  string , t  * testing.T ) {
3434		t .Helper ()
3535
3636		for  _ , comparator  :=  range  comparators  {
@@ -43,17 +43,18 @@ func All(comparators ...test.Comparator) test.Comparator {
4343// is found contained in the output. 
4444func  Contains (compare  string ) test.Comparator  {
4545	//nolint:thelper 
46- 	return  func (stdout   string , info  string , t  * testing.T ) {
46+ 	return  func (stdout , info  string , t  * testing.T ) {
4747		t .Helper ()
4848		assert .Check (t , strings .Contains (stdout , compare ),
4949			fmt .Sprintf ("Output does not contain: %q" , compare )+ info )
5050	}
5151}
5252
53- // DoesNotContain is to be used for expected.Output to ensure a comparison string is NOT found in the output. 
53+ // DoesNotContain is to be used for expected.Output to ensure a comparison string is NOT found in 
54+ // the output. 
5455func  DoesNotContain (compare  string ) test.Comparator  {
5556	//nolint:thelper 
56- 	return  func (stdout   string , info  string , t  * testing.T ) {
57+ 	return  func (stdout , info  string , t  * testing.T ) {
5758		t .Helper ()
5859		assert .Check (t , ! strings .Contains (stdout , compare ),
5960			fmt .Sprintf ("Output does contain: %q" , compare )+ info )
@@ -63,7 +64,7 @@ func DoesNotContain(compare string) test.Comparator {
6364// Equals is to be used for expected.Output to ensure it is exactly the output. 
6465func  Equals (compare  string ) test.Comparator  {
6566	//nolint:thelper 
66- 	return  func (stdout   string , info  string , t  * testing.T ) {
67+ 	return  func (stdout , info  string , t  * testing.T ) {
6768		t .Helper ()
6869		assert .Equal (t , compare , stdout , info )
6970	}
@@ -73,7 +74,7 @@ func Equals(compare string) test.Comparator {
7374// Provisional - expected use, but have not seen it so far. 
7475func  Match (reg  * regexp.Regexp ) test.Comparator  {
7576	//nolint:thelper 
76- 	return  func (stdout   string , info  string , t  * testing.T ) {
77+ 	return  func (stdout , info  string , t  * testing.T ) {
7778		t .Helper ()
7879		assert .Check (t , reg .MatchString (stdout ), "Output does not match: " + reg .String (), info )
7980	}
0 commit comments