Skip to content

Commit

Permalink
add nested array bug test
Browse files Browse the repository at this point in the history
  • Loading branch information
briangu committed Dec 20, 2023
1 parent 0c45779 commit e148ada
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_known_bugs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

class TestKnownBugsSuite(unittest.TestCase):

@unittest.skip
def test_join_nested_array(self):
klong = KlongInterpreter()
r = klong("a::!10;k::3;c::(,,,1#a),k")
# currently this flattens to [[0], 3]
self.assertTrue(kg_equal(r,[[[[0]]],3]))

@unittest.skip
def test_extra_spaces(self):
klong = KlongInterpreter()
Expand Down

0 comments on commit e148ada

Please sign in to comment.