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
Description
Fixing the issue where users' output affects the test result.
user logged output<FAILED::>
- Dart
Server Execution Error
, see the comment below
- C# ([C#] Fix LF issue #411, C# Fix LF Issue (updated compiled assembly) #572)
- JavaScript ([JS/TS/CS] Fix LF Issue #502)
- TypeScript ([JS/TS/CS] Fix LF Issue #502)
- OCaml ([OCaml] Fix LF issue #468)
- Swift (Rewrite Swift runner #451)
- PHP ([PHP] Fix LF issue #421)
- F# ([F#] Fix LF issue #419)
- Elixir ([Elixir] Fix LF issue #417)
- Crystal ([Crystal] Fix LF issue #416)
- Ruby ([Ruby] Fix LF issue #414)
- C++ ([C++] Fix LF issue #413)
- Python ([Python] Fix LF issue #412)
- Lua ([Lua] Add "Preloaded" code support #409)
- Java (Java now forces passed/failed message onto new lines #336)
- Go ([Go] Prepend LF to output commands #339)
- C (@25e5609)
- 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