You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the round-trip tests failed the first time I ran it:
rmunn@laptop:~/code/python/edn_format (master)$ python tests.py
......F.
======================================================================
FAIL: test_round_trip_conversion (__main__.EdnTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests.py", line 140, in test_round_trip_conversion
self.assertIn(step3, literal[1])
AssertionError: '#{:b (1 2 3) :a}' not found in ['#{:a (1 2 3) :b}', '#{(1 2 3) :a :b}', '#{:a :b (1 2 3)}', '#{:b :a (1 2 3)}']
----------------------------------------------------------------------
Ran 8 tests in 0.447s
FAILED (failures=1)
There are six possible permutations of :a, :b, and (1 2 3), but only four of those permutations are checked for in the test results. The following patch will check for the other two possible permutations:
One of the round-trip tests failed the first time I ran it:
There are six possible permutations of
:a
,:b
, and(1 2 3)
, but only four of those permutations are checked for in the test results. The following patch will check for the other two possible permutations:The patch is simple enough that I'm not going to bother with setting up a pull request, though I can do so if you'd prefer.
The text was updated successfully, but these errors were encountered: