Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 965de8d

Browse files
committed
Resolves ambiguity in test case displayed, replaces , with ↩ character
1 parent cbe52a8 commit 965de8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/cache/models.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ impl std::fmt::Display for VerifyResult {
261261
" Runtime: ".dimmed(),
262262
&self.status.status_runtime.dimmed(),
263263
"\n Your input: ",
264-
&self.data_input.replace("\n", ", "),
264+
&self.data_input.replace("\n", ""),
265265
"\n Output: ",
266266
ca,
267267
"\n Expected: ",
@@ -331,7 +331,7 @@ impl std::fmt::Display for VerifyResult {
331331
" Runtime: ".dimmed(),
332332
&self.status.status_runtime.dimmed(),
333333
"\n Your input: ",
334-
&self.data_input.replace("\n", ", "),
334+
&self.data_input.replace("\n", ""),
335335
"\n Output: ",
336336
ca,
337337
"\n Expected: ",
@@ -387,7 +387,7 @@ impl std::fmt::Display for VerifyResult {
387387
&self.status.status_msg.red().bold(),
388388
&self.error.full_compile_error
389389
),
390-
_ => write!(f, "{}", "\nUnKnow Error...\n".red().bold()),
390+
_ => write!(f, "{}", "\nUnknown Error...\n".red().bold()),
391391
}
392392
}
393393
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /