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

Appearance settings

tests: Use #[should_panic] instead of #[ignore] where possible #7875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
Loading
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
tests: Remove #[ignore] when possible
  • Loading branch information
RenjiSann committed May 5, 2025
commit 80567e301128bc6a0bb9d9c747ec802ed9b5156e
2 changes: 1 addition & 1 deletion 2 tests/by-util/test_dd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,9 @@ fn test_ascii_521k_to_file() {
);
}

#[ignore]
#[cfg(unix)]
#[test]
#[ignore]
fn test_ascii_5_gibi_to_file() {
let tname = "ascii-5G";
let tmp_fn = format!("TESTFILE-{tname}.tmp");
Expand Down
1 change: 0 additions & 1 deletion 1 tests/by-util/test_ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,6 @@ fn test_ls_long_ctime() {
}

#[test]
#[ignore]
fn test_ls_order_birthtime() {
let scene = TestScenario::new(util_name!());
let at = &scene.fixtures;
Expand Down
2 changes: 1 addition & 1 deletion 2 tests/by-util/test_seq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -943,8 +943,8 @@ fn test_parse_out_of_bounds_exponents() {
.stdout_only("-0\n1\n");
}

#[ignore]
#[test]
#[should_panic]
fn test_parse_valid_hexadecimal_float_format_issues() {
// These tests detect differences in the representation of floating-point values with GNU seq.
// There are two key areas to investigate:
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.