~kris/9p

disco

ref: fe98bf5193b31a3c84076a64d0d648ccbb5b993e disco/DiscordGo/user_test.go -rw-r--r-- 239 bytes
fe98bf51 — Sean Hinchee cleanup 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package discordgo

import "testing"

func TestUser(t *testing.T) {
	t.Parallel()

	user := &User{
		Username:      "bob",
		Discriminator: "8192",
	}

	if user.String() != "bob#8192" {
		t.Errorf("user.String() == %v", user.String())
	}
}