Skip to content

test fails with rustc 1.35 #437

@vcunat

Description

@vcunat

Did rustc output add a newline?

Reproducing the behavior

Nothing special, I think. Just run tests:

test test_run_programs ... FAILED
test test_run_examples ... ok

failures:

---- test_run_programs stdout ----
testing "/build/hvm-2.0.22.tar.gz/tests/programs/empty.hvm"...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot file: tests/snapshots/[email protected]
Snapshot: [email protected]
Source: tests/run.rs:46
Input file: tests/programs/empty.hvm
────────────────────────────────────────────────────────────────────────────────
Expression: rust_output
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
    0     0 │ exit status: 101
          1 │+
    1     2 │ thread 'main' panicked at src/ast.rs:545:41:
    2     3 │ missing `@main` definition
    3     4 │ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
────────────┴───────────────────────────────────────────────────────────────────
snapshot assertion from glob for '[email protected]' failed in line 46

System Settings

  • OS: NixOS

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