mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	all: Propagate baseURL error to the callers
This commit is contained in:
		| @@ -40,8 +40,9 @@ func TestNewPathSpecFromConfig(t *testing.T) { | ||||
| 	v.Set("staticDir", "thestatic") | ||||
| 	v.Set("theme", "thetheme") | ||||
|  | ||||
| 	p := NewPathSpec(hugofs.NewMem(v), l) | ||||
| 	p, err := NewPathSpec(hugofs.NewMem(v), l) | ||||
|  | ||||
| 	require.NoError(t, err) | ||||
| 	require.True(t, p.canonifyURLs) | ||||
| 	require.True(t, p.defaultContentLanguageInSubdir) | ||||
| 	require.True(t, p.disablePathToLower) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user