mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
fix whois test
This commit is contained in:
parent
79f4ccb6b2
commit
ff9319e5df
|
@ -4,8 +4,8 @@ import "testing"
|
|||
|
||||
func TestWhois(t *testing.T) {
|
||||
t.Run("returns a link to a users profile picture", func(t *testing.T) {
|
||||
request := Whois("Nouryxd")
|
||||
response := "User: Nouryxd, ID: 31437432, Created on: 2012-06-18, Color: #00F2FB, Affiliate: false, Partner: false, Staff: false, Admin: false, Bot: false, Bio: It's good to be king. Wait, maybe. I think maybe I'm just like a little bizarre little person who walks back and forth. Whatever, you know, but..."
|
||||
request := Whois("forsen")
|
||||
response := "User: forsen, ID: 22484632, Created on: 2011-05-19, Color: #FF0000, Affiliate: false, Partner: true, Staff: false, Admin: false, Bot: false, Bio: Approach with caution! No roleplaying or tryharding allowed."
|
||||
|
||||
got := request
|
||||
want := response
|
||||
|
|
Loading…
Reference in a new issue