mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	cleanup unused code and fix t.Fatal usage in goroutine in testing (#11694)
This commit is contained in:
		| @@ -150,7 +150,7 @@ func TestTruncateToSeconds(t *testing.T) { | ||||
| 	for _, tc := range cases { | ||||
| 		tc := tc | ||||
|  | ||||
| 		t.Run(fmt.Sprintf("%s", tc.d), func(t *testing.T) { | ||||
| 		t.Run(tc.d.String(), func(t *testing.T) { | ||||
| 			t.Parallel() | ||||
|  | ||||
| 			act := truncateToSeconds(tc.d) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mayo
					Mayo