diff options
author | Michael Muré <batolettre@gmail.com> | 2019-01-19 19:23:31 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:40:21 +0100 |
commit | d10c76469d40f13e27739fd363145e89bf74c3e0 (patch) | |
tree | ff613ef1ce9400f8c208d3381bd703b186958aa3 /identity/bare_test.go | |
parent | 844616baf8dc628360942d57fd69f24e298e08da (diff) | |
download | git-bug-d10c76469d40f13e27739fd363145e89bf74c3e0.tar.gz |
identity: somewhat getting closer !
Diffstat (limited to 'identity/bare_test.go')
-rw-r--r-- | identity/bare_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/identity/bare_test.go b/identity/bare_test.go new file mode 100644 index 00000000..1458107a --- /dev/null +++ b/identity/bare_test.go @@ -0,0 +1,13 @@ +package identity + +import ( + "testing" + + "github.com/magiconair/properties/assert" +) + +func TestBare_Id(t *testing.T) { + i := NewBare("name", "email") + id := i.Id() + assert.Equal(t, "7b226e616d65223a226e616d65222c22", id) +} |