2023-05-22 12:17:52 -05:00
|
|
|
// ignore-tidy-linelength
|
|
|
|
|
2022-09-03 13:36:28 -05:00
|
|
|
pub enum Foo {
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='Has')].inner.variant.discriminant" '{"expr":"0", "value":"0"}'
|
2022-09-03 13:36:28 -05:00
|
|
|
Has = 0,
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='Doesnt')].inner.variant.discriminant" null
|
2022-09-03 13:36:28 -05:00
|
|
|
Doesnt,
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AlsoDoesnt')].inner.variant.discriminant" null
|
2022-09-03 13:36:28 -05:00
|
|
|
AlsoDoesnt,
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AlsoHas')].inner.variant.discriminant" '{"expr":"44", "value":"44"}'
|
2022-09-03 13:36:28 -05:00
|
|
|
AlsoHas = 44,
|
|
|
|
}
|