rustdoc-json: Improve test for auto-trait impls
This commit is contained in:
parent
49e5e4e3a5
commit
c7e976eb1e
1 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,8 @@ impl Foo {
|
|||
// Testing spans, so all tests below code
|
||||
//@ is "$.index[?(@.docs=='has span')].span.begin" "[13, 1]"
|
||||
//@ is "$.index[?(@.docs=='has span')].span.end" "[15, 2]"
|
||||
// FIXME: this doesn't work due to https://github.com/freestrings/jsonpath/issues/91
|
||||
// is "$.index[?(@.inner.impl.is_synthetic==true)].span" null
|
||||
//@ is "$.index[?(@.docs=='has span')].inner.impl.is_synthetic" false
|
||||
//@ is "$.index[?(@.inner.impl.is_synthetic==true)].span" null
|
||||
//@ is "$.index[?(@.inner.impl.is_synthetic==true)].inner.impl.for.resolved_path.path" '"Foo"'
|
||||
//@ is "$.index[?(@.inner.impl.is_synthetic==true)].inner.impl.trait.path" '"Bar"'
|
||||
pub struct Foo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue