Skip to content

Commit

Permalink
jscc.testing.checks.validate_ref supports integers in JSON Pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 23, 2020
1 parent 0436a9b commit 148677d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Changelog
=========

0.0.4 (Unreleased)
0.0.4 (2020-06-23)
------------------

Fixed
~~~~~

- :meth:`jscc.testing.checks.validate_ref` supports integers in JSON Pointers.
- :meth:`jscc.testing.filesystem.tracked` supports Windows.

0.0.3 (2020-03-17)
Expand Down
2 changes: 1 addition & 1 deletion jscc/testing/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def validate_ref(path, data):
# `repr` causes the references to be loaded, if possible.
repr(ref)
except JsonRefError as e:
warn('{} has {} at {}'.format(path, e.message, '/'.join(e.path)), RefWarning)
warn('{} has {} at {}'.format(path, e.message, '/'.join(map(str, e.path))), RefWarning)
return 1

return 0
Expand Down

0 comments on commit 148677d

Please sign in to comment.