mirror of
https://github.com/gabrie30/ghorg.git
synced 2026-05-08 13:26:09 +02:00
Merge pull request #26 from gabrie30/update-dir-permissions
add basic test
This commit is contained in:
commit
d2f4ff193f
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")
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user