mirror of
https://github.com/outbackdingo/ghorg.git
synced 2026-01-27 18:18:58 +00:00
Merge pull request #26 from gabrie30/update-dir-permissions
add basic test
This commit is contained in:
14
ghorg_test.go
Normal file
14
ghorg_test.go
Normal 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")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user