Skip to content

Commit 0154f2c

Browse files
authored
fix doctests on v1.4 (#302)
1 parent 1493303 commit 0154f2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/axes.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ julia> ro[-1]
2222
-1
2323
2424
julia> ro[3]
25-
ERROR: BoundsError: attempt to access 3-element IdOffsetRange{$Int, UnitRange{$Int}} with indices -1:1 at index [3]
25+
ERROR: BoundsError: attempt to access 3-element $(IdOffsetRange{Int, UnitRange{Int}}) with indices -1:1 at index [3]
2626
```
2727
2828
If the range doesn't start at 1, the values may be different from the indices:
@@ -37,7 +37,7 @@ julia> ro[-1]
3737
9
3838
3939
julia> ro[3]
40-
ERROR: BoundsError: attempt to access 3-element IdOffsetRange{$Int, UnitRange{$Int}} with indices -1:1 at index [3]
40+
ERROR: BoundsError: attempt to access 3-element $(IdOffsetRange{Int, UnitRange{Int}}) with indices -1:1 at index [3]
4141
```
4242
4343
# Extended help

0 commit comments

Comments
 (0)