Merge pull request #26 from gabrie30/update-dir-permissions

add basic test
This commit is contained in:
Jay Gabriels 2018-06-07 20:28:17 -07:00 committed by GitHub
commit d2f4ff193f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
ghorg_test.go Normal file
View File

@ -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")
}
}