Skip to content

Commit

Permalink
refactor: renamed extras to extra
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Jul 22, 2024
1 parent bf64488 commit 857c852
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/extras.md → docs/extra.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


::: inline_snapshot.extras
::: inline_snapshot.extra
options:
heading_level: 1
show_root_heading: true
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ nav:
- snapshot()[key]: getitem_snapshot.md
- outsource(data): outsource.md
- '@customize_repr': customize_repr.md
- extras: extras.md
- types: types.md
- extensions: extra.md
- pytest integration: pytest.md
- Categories: categories.md
- Configuration: configuration.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def raises(exception: Snapshot[str]):
<!-- inline-snapshot: outcome-passed=1 outcome-errors=1 -->
```python
from inline_snapshot import snapshot
from inline_snapshot.extras import raises
from inline_snapshot.extra import raises
def test_raises():
Expand All @@ -35,7 +35,7 @@ def test_raises():
<!-- inline-snapshot: create outcome-passed=1 -->
```python
from inline_snapshot import snapshot
from inline_snapshot.extras import raises
from inline_snapshot.extra import raises
def test_raises():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from inline_snapshot import external
from inline_snapshot import outsource
from inline_snapshot import snapshot
from inline_snapshot.extras import raises
from inline_snapshot.extra import raises

from tests.utils import config

Expand Down
2 changes: 1 addition & 1 deletion tests/test_raises.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from inline_snapshot import snapshot
from inline_snapshot.extras import raises
from inline_snapshot.extra import raises


def test_raises():
Expand Down

0 comments on commit 857c852

Please sign in to comment.