You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.Equal(t, strings.Contains(content.String(), "Failed to decode the keys [\\\"foo\\\"\\\"storage.options.graphroot\\\"] from \\\"./storage_broken.conf\\\"\""), true)
208
208
}
209
+
210
+
funcTestMergeConfigFromDirectory(t*testing.T) {
211
+
tempDir, err:=os.MkdirTemp("", "testConfigDir")
212
+
iferr!=nil {
213
+
t.Fatalf("Failed to create temp dir: %v", err)
214
+
}
215
+
deferos.RemoveAll(tempDir)
216
+
217
+
// Creating a mix of files with .txt and .conf extensions
t.Errorf("Expected RunRoot to be %q and GraphRoot to be %q, got RunRoot %q and GraphRoot %q", expectedOptions.RunRoot, expectedOptions.GraphRoot, baseOptions.RunRoot, baseOptions.GraphRoot)
0 commit comments