diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-16 15:28:28 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-18 20:32:40 +0200 |
| commit | ba9a008d90ad7b9c11379a00766f9e4ebbcdc126 (patch) | |
| tree | 123f20138051987165ada3d720e2e13bf3476c3d /tests/rustdoc-json/impls | |
| parent | 59477a8ab21480a5c3da0313ef5a235091d8cbee (diff) | |
| download | rust-ba9a008d90ad7b9c11379a00766f9e4ebbcdc126.tar.gz rust-ba9a008d90ad7b9c11379a00766f9e4ebbcdc126.zip | |
Add regression test for span 1-indexed check
Diffstat (limited to 'tests/rustdoc-json/impls')
| -rw-r--r-- | tests/rustdoc-json/impls/auto.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-json/impls/auto.rs b/tests/rustdoc-json/impls/auto.rs index f94f7338480..ce47d1be690 100644 --- a/tests/rustdoc-json/impls/auto.rs +++ b/tests/rustdoc-json/impls/auto.rs @@ -15,8 +15,8 @@ impl Foo { } // Testing spans, so all tests below code -//@ is "$.index[?(@.docs=='has span')].span.begin" "[13, 0]" -//@ is "$.index[?(@.docs=='has span')].span.end" "[15, 1]" +//@ 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 pub struct Foo; |
