MCPcopy
hub / github.com/git-lfs/git-lfs / TestLFSDefaultSimple

Function TestLFSDefaultSimple

config/config_test.go:77–86  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

75}
76
77func TestLFSDefaultSimple(t *testing.T) {
78 cfg := NewFrom(Values{
79 Git: map[string][]string{
80 "remote.lfsdefault": []string{"a"},
81 },
82 })
83
84 assert.Equal(t, "a", cfg.Remote())
85 assert.Equal(t, "a", cfg.PushRemote())
86}
87
88func TestLFSDefaultBranch(t *testing.T) {
89 cfg := NewFrom(Values{

Callers

nothing calls this directly

Calls 4

NewFromFunction · 0.85
PushRemoteMethod · 0.80
RemoteMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected