mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
@@ -80,17 +80,6 @@ var configTests = []struct {
|
||||
{path: "", expect: false},
|
||||
}
|
||||
|
||||
func TestNamespace(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
v := viper.New()
|
||||
v.Set("workingDir", "/a/b")
|
||||
|
||||
ns := New(&deps.Deps{Fs: hugofs.NewMem(v)})
|
||||
|
||||
assert.Equal(t, ns, ns.Namespace(), "object pointers should match")
|
||||
}
|
||||
|
||||
func TestNSConfig(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
Reference in New Issue
Block a user