Updated tea test to replace 🍵 with 🍵

This commit is contained in:
svohr 2017-02-20 12:19:49 -08:00
parent 8087f23d53
commit 39d5dec694
1 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ func TestTeaEarlGreyHot(t *testing.T) {
assert.NotNil(t, c)
c.Message(makeMessage("Tea. Earl Grey. Hot."))
c.Message(makeMessage("Tea. Earl Grey. Hot."))
item, err := GetItem(mb.DB(), "tester", "🍵")
item, err := GetItem(mb.DB(), "tester", ":tea:")
assert.Nil(t, err)
assert.Equal(t, 2, item.Count)
}
@ -44,7 +44,7 @@ func TestTeaGreenHot(t *testing.T) {
c.Message(makeMessage("Tea. Green. Hot."))
c.Message(makeMessage("Tea. Green. Hot"))
c.Message(makeMessage("Tea. Green. Iced."))
item, err := GetItem(mb.DB(), "tester", "🍵")
item, err := GetItem(mb.DB(), "tester", ":tea:")
assert.Nil(t, err)
assert.Equal(t, 3, item.Count)
}
@ -55,7 +55,7 @@ func TestTeaUnrelated(t *testing.T) {
assert.NotNil(t, c)
c.Message(makeMessage("Tea."))
c.Message(makeMessage("Tea. It's great."))
item, err := GetItem(mb.DB(), "tester", "🍵")
item, err := GetItem(mb.DB(), "tester", ":tea:")
assert.Nil(t, err)
assert.Equal(t, 0, item.Count)
}
@ -65,7 +65,7 @@ func TestTeaSkieselQuote(t *testing.T) {
c := New(mb)
assert.NotNil(t, c)
c.Message(makeMessage("blah, this is a whole page of explanation where \"we did local search and used a tabu list\" would have sufficed"))
item, err := GetItem(mb.DB(), "tester", "🍵")
item, err := GetItem(mb.DB(), "tester", ":tea:")
assert.Nil(t, err)
assert.Equal(t, 0, item.Count)
}