Skip to content

Commit

Permalink
test sending the same key twice
Browse files Browse the repository at this point in the history
  • Loading branch information
wille committed Jan 18, 2017
1 parent fce6a12 commit 6dc050b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions comms_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ func TestComms(t *testing.T) {

fmt.Println(Stringify(priv))
}

func TestServer(t *testing.T) {
fmt.Println("Sending the same key twice...")
priv := Generate()
PostKey(priv)
PostKey(priv)
}

0 comments on commit 6dc050b

Please sign in to comment.