Skip to content

stack level too deep #42

@m5rk

Description

@m5rk

This rather benign appearing spec:

        it 'loses its mind' do
          expect({
            m: [
              {
                s: {
                  a: :i,
                  b: "",
                  c: :r
                }
              }
            ],
            s: {
              a: :o,
              b: nil,
              c: :r
            }
          }).to match_json_expression({
            m: [
              {
                s: {
                  a: :i,
                  b: "",
                  c: :r
                }
              }
            ],
            s: {
              a: :o,
              b: nil,
              c: :r
            }
          })
        end

blows up:

  Failure/Error: expect({
  SystemStackError:
    stack level too deep

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