From ddd834b95755fc17a8fa5b7462921ae4c48e435b Mon Sep 17 00:00:00 2001 From: Jay Gabriels Date: Thu, 7 Jun 2018 20:27:36 -0700 Subject: [PATCH] add basic test --- ghorg_test.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ghorg_test.go diff --git a/ghorg_test.go b/ghorg_test.go new file mode 100644 index 0000000..882ebc6 --- /dev/null +++ b/ghorg_test.go @@ -0,0 +1,14 @@ +package main + +import ( + "testing" + + "github.com/gabrie30/ghorg/config" +) + +func TestDefaultBranch(t *testing.T) { + branch := config.GhorgBranch + if branch != "master" { + t.Errorf("Default branch should be master") + } +}