Skip to content

ex unit diff bug #14268

@dkuku

Description

@dkuku

Elixir and Erlang/OTP versions

Today I spotted a strange diff in my tests.
One element of a list was missing but the diff highlights more elements.
Tested on main.
Image

Operating system

linux

Current behavior

 assert [:b, :c, :d] == [:a, :b, :c, :d]
assert [:b, :c] == [:a, :b, :c]

Expected behavior

I don't expect the last element to be highlighted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions