Skip to content

hof/fmt: prettier rust plugin is failing on testcase #407

Description

@verdverm

disabled for now

386 : Container.withExec(args: ["hof", "run", "rs.txt"]): Container!
386 : [2.9s] | 
386 : [2.9s] | 
386 : [2.9s] | >>> exec hof fmt in.rs -v 1
386 : [2.9s] | [stdout]
386 : [2.9s] | formatting 1 file(s) from in.rs
386 : [2.9s] | 
386 : [2.9s] | InvalidDocError: Unexpected doc.type 'concat'.
386 : [2.9s] | Expected it to be 'cursor', 'indent', 'align', 'trim', 'group', 'fill', 'if-break', 'indent-if-break', 'line-suffix', 'line-suffix-boundary', 'line', 'label', or 'break-parent'.
386 : [2.9s] | 
386 : [2.9s] | while formatting source: error while formatting in.rs
386 : [2.9s] | encountered 1 errors while formatting
386 : [2.9s] | [exit status 1]
386 : [2.9s] | FAIL: rs.txt:1: unexpected exec command failure
386 : [2.9s] | 
386 : [2.9s] | >>> exec hof fmt in.rs -v 1
386 : [2.9s] | [stdout]
386 : [2.9s] | formatting 1 file(s) from in.rs
386 : [2.9s] | 
386 : [2.9s] | InvalidDocError: Unexpected doc.type 'concat'.
386 : [2.9s] | Expected it to be 'cursor', 'indent', 'align', 'trim', 'group', 'fill', 'if-break', 'indent-if-break', 'line-suffix', 'line-suffix-boundary', 'line', 'label', or 'break-parent'.
386 : [2.9s] | 
386 : [2.9s] | while formatting source: error while formatting in.rs
386 : [2.9s] | encountered 1 errors while formatting
386 : [2.9s] | [exit status 1]
386 : [2.9s] | FAIL: rs.txt:1: unexpected exec command failure
386 : [2.9s] | 
386 : Container.withExec ERROR [2.9s]

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions