Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util: add sorted option #22788

Closed
wants to merge 5 commits into from
Closed

Commits on Sep 16, 2018

  1. util: add order option to .inspect()

    The order option can be used to sort the inspected values in case
    they do not rely on their order as arrays. That way the output is
    stable no matter of the object property inspection order.
    BridgeAR committed Sep 16, 2018
    Configuration menu
    Copy the full SHA
    28ffb3b View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2018

  1. fixup: util

    BridgeAR committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    a8f898c View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2018

  1. assert: improve diff output

    The output is now a tiny bit improved by sorting object properties
    when inspecting the values that are compared with each other. That
    reduces the overall diff for identical objects with a different
    property insertion order.
    BridgeAR committed Sep 18, 2018
    Configuration menu
    Copy the full SHA
    0ade8a7 View commit details
    Browse the repository at this point in the history
  2. fixup: fix assert test

    BridgeAR committed Sep 18, 2018
    Configuration menu
    Copy the full SHA
    ea61a2f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    779dbb0 View commit details
    Browse the repository at this point in the history