fallback to go pre go1.22 syntax

This commit is contained in:
Lilian Jónsdóttir 2024-03-14 09:45:01 -07:00
parent 6aa7aca85e
commit eefc0340db
3 changed files with 4 additions and 4 deletions

View file

@ -75,7 +75,7 @@ func TestEncryptionDecryption(t *testing.T) {
// TestNewIdentity creats a new identity, writes it to file, then re-reads it back from the file.
func TestNewIdentity(t *testing.T) {
for range 1000 {
for i := 0; i <= 1000; i++ {
outfile := generator.GenerateFullPath()
identity, err := NewIdentity()