Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
11
tests/rustdoc-json/structs/plain_all_pub.rs
Normal file
11
tests/rustdoc-json/structs/plain_all_pub.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
pub struct Demo {
|
||||
pub x: i32,
|
||||
pub y: i32,
|
||||
}
|
||||
|
||||
// @set x = "$.index[*][?(@.name=='x')].id"
|
||||
// @set y = "$.index[*][?(@.name=='y')].id"
|
||||
// @is "$.index[*][?(@.name=='Demo')].inner.kind.plain.fields[0]" $x
|
||||
// @is "$.index[*][?(@.name=='Demo')].inner.kind.plain.fields[1]" $y
|
||||
// @count "$.index[*][?(@.name=='Demo')].inner.kind.plain.fields[*]" 2
|
||||
// @is "$.index[*][?(@.name=='Demo')].inner.kind.plain.fields_stripped" false
|
Loading…
Add table
Add a link
Reference in a new issue