aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/reference_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/reference_test.go')
-rw-r--r--plumbing/reference_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/plumbing/reference_test.go b/plumbing/reference_test.go
index 4d9b393..849f159 100644
--- a/plumbing/reference_test.go
+++ b/plumbing/reference_test.go
@@ -10,6 +10,10 @@ const (
ExampleReferenceName ReferenceName = "refs/heads/v4"
)
+func (s *ReferenceSuite) TestReferenceTypeString(c *C) {
+ c.Assert(SymbolicReference.String(), Equals, "symbolic-reference")
+}
+
func (s *ReferenceSuite) TestReferenceNameShort(c *C) {
c.Assert(ExampleReferenceName.Short(), Equals, "v4")
}