Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Fixing the LF issue #410

Closed
Closed
@kazk

Description

@kazk

Fixing the issue where users' output affects the test result.

user logged output<FAILED::>

  • Rust (lib/runners/rust.js) outputs the result differently from the most and not really affected.
    • stdout is transformed after the test and only contains the output commands
      <DESCRIBE::>returns_expected
      <FAILED::>Test Failed
      
    • stderr contains the details on failure (print!("foo"); assert_eq!(1, 2);)
      Failure Info:
      
      ---- returns_expected stdout ----
      	foothread 'returns_expected' panicked at 'assertion failed: `(left == right)` (left: `1`, right: `2`)', main.rs:17
      

codewars/codewars.com#867
codewars/codewars.com#937

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions