github.com/pingcap/br@v5.3.0-alpha.0.20220125034240-ec59c7b6ce30+incompatible/pkg/gluetikv/glue_test.go (about) 1 package gluetikv 2 3 import ( 4 "testing" 5 6 . "github.com/pingcap/check" 7 ) 8 9 type testGlue struct{} 10 11 var _ = Suite(&testGlue{}) 12 13 func TestT(t *testing.T) { 14 TestingT(t) 15 } 16 17 func (r *testGlue) TestGetVersion(c *C) { 18 g := Glue{} 19 c.Assert(g.GetVersion(), Matches, "BR(.|\n)*Release Version(.|\n)*Git Commit Hash(.|\n)*") 20 }