MCPcopy Create free account
hub / github.com/dropbox/dbxcli / jsonHelpManifestByPath

Function jsonHelpManifestByPath

cmd/help_json_test.go:1007–1017  ·  view source on GitHub ↗
(t *testing.T, got jsonHelpOutputForTest, path string)

Source from the content-addressed store, hash-verified

1005}
1006
1007func jsonHelpManifestByPath(t *testing.T, got jsonHelpOutputForTest, path string) jsonCommandManifest {
1008 t.Helper()
1009
1010 for _, result := range got.Results {
1011 if result.Result.Path == path {
1012 return result.Result
1013 }
1014 }
1015 t.Fatalf("manifest for %q not found", path)
1016 return jsonCommandManifest{}
1017}
1018
1019func assertJSONHelpFlagNames(t *testing.T, flags []jsonCommandFlag, want []string) {
1020 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected