Skip to content

Zero comparison will result in an empty diff #94

Description

@DKhalil

This here will cause an empty diff, even though they're not the same:

\Jfcherng\Diff\DiffHelper::calculate('0', '00000', 'SideBySide');

I'm guessing there is a numeric check somewhere that will only fail if the text is just 0s.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions