Skip to content

Commit

Permalink
add test of testAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
Villaquiranm committed Dec 19, 2024
1 parent f32c45f commit 09cf4e0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/gno.land/p/demo/testutils/crypto_test.gno
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package testutils
import (
"fmt"
"testing"
"gno.land/p/demo/uassert"
)

func TestTestAddress(t *testing.T) {
testAddr := TestAddress("author1")
uassert.Equal(t, "g1v96hg6r0wgc47h6lta047h6lta047h6lm33tq6", string(testAddr))
}

0 comments on commit 09cf4e0

Please sign in to comment.