Skip to content

"[\n\n]" doesn't pass topiary's idempotence check. #39

@maxim-uvarov

Description

@maxim-uvarov
> "[\n\n]" | save -f bug.nu; topiary format bug.nu
[2025-11-23T22:57:41Z ERROR topiary_core] Failed idempotence check
[2025-11-23T22:57:41Z ERROR topiary_core] Diff < left / right > :
     [

    >
     ]


[2025-11-23T22:57:41Z ERROR topiary::error] The formatter did not produce the same
    result when invoked twice (idempotence check).

    If this happened with the built-in query files, it is a bug. It would be
    helpful if you logged this error at
    https://github.com/tweag/topiary/issues/new?assignees=&labels=type%3A+bug&template=bug_report.md

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