Skip to content

Commit

Permalink
fix wrong test
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongjiwei committed Jul 2, 2020
1 parent 358bdec commit 5907db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/collation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (s *testCollationSuites) TestCompareString(c *C) {
c.Assert(types.CompareString("a", "A", "utf8_unicode_ci"), Not(Equals), 0)
c.Assert(types.CompareString("À", "A", "utf8_unicode_ci"), Not(Equals), 0)
c.Assert(types.CompareString("😜", "😃", "utf8_unicode_ci"), Not(Equals), 0)
c.Assert(types.CompareString("a ", "a ", "utf8_unicode_ci"), Not(Equals), 0)
c.Assert(types.CompareString("a ", "a ", "utf8_unicode_ci"), Equals, 0)

ctx := mock.NewContext()
ft := types.NewFieldType(mysql.TypeVarString)
Expand Down

0 comments on commit 5907db8

Please sign in to comment.