Skip to content

Top level string test is failing #17

@curran

Description

@curran

Interestingly, the top level string test appears to have been failing ever since it was introduced in d955810 . It's failing today in master, and if you check out that commit, it's failing there too. No idea why... It should probably be fixed. I'm not sure if the expected value is wrong or the output is wrong. It can be verified by applying the ops to a document and seeing what works correctly.

  21 passing (24ms)
  1 failing

  1) Jsondiff
       Operations
         String Mutation (si + sd)
           Top level string:

      AssertionError: expected [ Array(2) ] to deeply equal [ Array(2) ]
      + expected - actual

       [
         {
      -    "p": [
      -      0
      -    ]
      +    "p": []
           "sd": "one"
         }
         {
      -    "p": [
      -      0
      -    ]
      +    "p": []
           "si": "two"
         }
       ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions