Fixes unused errs
This commit is contained in:
		
							parent
							
								
									018ce2f194
								
							
						
					
					
						commit
						0aaf1b4016
					
				|  | @ -34,6 +34,7 @@ func TestAcmeIdentifier(t *testing.T) { | ||||||
| 
 | 
 | ||||||
| 	marshaled := marshaledI.(string) | 	marshaled := marshaledI.(string) | ||||||
| 	err = scanner.Binder(&marshaled, &out) | 	err = scanner.Binder(&marshaled, &out) | ||||||
|  | 	test.AssertNotError(t, err, "failed to scanner.Binder") | ||||||
| 	test.AssertMarshaledEquals(t, ai, out) | 	test.AssertMarshaledEquals(t, ai, out) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -58,6 +59,7 @@ func TestJsonWebKey(t *testing.T) { | ||||||
| 
 | 
 | ||||||
| 	marshaled := marshaledI.(string) | 	marshaled := marshaledI.(string) | ||||||
| 	err = scanner.Binder(&marshaled, &out) | 	err = scanner.Binder(&marshaled, &out) | ||||||
|  | 	test.AssertNotError(t, err, "failed to scanner.Binder") | ||||||
| 	test.AssertMarshaledEquals(t, jwk, out) | 	test.AssertMarshaledEquals(t, jwk, out) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -79,6 +81,7 @@ func TestAcmeStatus(t *testing.T) { | ||||||
| 
 | 
 | ||||||
| 	marshaled := marshaledI.(string) | 	marshaled := marshaledI.(string) | ||||||
| 	err = scanner.Binder(&marshaled, &out) | 	err = scanner.Binder(&marshaled, &out) | ||||||
|  | 	test.AssertNotError(t, err, "failed to scanner.Binder") | ||||||
| 	test.AssertMarshaledEquals(t, as, out) | 	test.AssertMarshaledEquals(t, as, out) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -100,6 +103,7 @@ func TestOCSPStatus(t *testing.T) { | ||||||
| 
 | 
 | ||||||
| 	marshaled := marshaledI.(string) | 	marshaled := marshaledI.(string) | ||||||
| 	err = scanner.Binder(&marshaled, &out) | 	err = scanner.Binder(&marshaled, &out) | ||||||
|  | 	test.AssertNotError(t, err, "failed to scanner.Binder") | ||||||
| 	test.AssertMarshaledEquals(t, os, out) | 	test.AssertMarshaledEquals(t, os, out) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -119,5 +123,6 @@ func TestStringSlice(t *testing.T) { | ||||||
| 
 | 
 | ||||||
| 	marshaled := marshaledI.(string) | 	marshaled := marshaledI.(string) | ||||||
| 	err = scanner.Binder(&marshaled, &out) | 	err = scanner.Binder(&marshaled, &out) | ||||||
|  | 	test.AssertNotError(t, err, "failed to scanner.Binder") | ||||||
| 	test.AssertMarshaledEquals(t, au, out) | 	test.AssertMarshaledEquals(t, au, out) | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue