kubo/path
W. Trevor King 19823c6704 path/resolver_test: Test recursive Link resolution
Setup a three-level graph:

  a -(child)-> b -(grandchild)-> c

and then try and resolve:

  /ipfs/<hash-of-a>/child/grandchild

Before 10669e8b (path/resolver: Fix recursive path resolution,
2015-05-08) this failed with:

  resolver_test.go:71: no link named "grandchild" under QmSomeRandomHash

The boilerplate for this test is from pin/pin_test.go, and I make no
claims that it's the best way to setup the test graph ;).
2015-05-08 21:43:43 -07:00
..
path.go address comments from CR 2015-04-26 22:32:12 -07:00
resolver_test.go path/resolver_test: Test recursive Link resolution 2015-05-08 21:43:43 -07:00
resolver.go path/resolver: Fix recursive path resolution 2015-05-08 16:25:39 -07:00