Skip to content

Prefer collect(a:b) over [a:b;] in tests #37698

@remi-garcia

Description

@remi-garcia

As discussed here the use of [a:b;] is not as natural as collect(a:b) and it might be good to prefer collect in tests.
Here for example:

@test sort(['z':-1:'a';]) == ['a':'z';]

CC @oheil @ericphanson @tpapp

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