Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 0 additions & 5 deletions crates/mergify-cli/tests/skill_references.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ fn native_commands_for_group(group: &str) -> BTreeSet<String> {
.collect()
}

#[test]
fn skill_content_is_readable() {
assert!(!skill_content().is_empty(), "SKILL.md must not be empty");
}

#[test]
fn skill_has_valid_frontmatter() {
let content = skill_content();
Expand Down
11 changes: 0 additions & 11 deletions crates/mergify-freeze/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,4 @@ mod tests {
"2026-01-01T10:00:00 (Europe/Paris)",
);
}

#[test]
fn detect_local_timezone_returns_a_value() {
// We can't assert a specific timezone (varies by environment),
// but we can assert that detection doesn't fail outright in
// a normal dev / CI environment. If this fires in a sandbox
// that masks `TZ`, the `iana-time-zone` crate falls back to
// `/etc/localtime` on Unix — both routes work in CI.
let tz = detect_local_timezone().expect("local timezone detectable");
assert!(!tz.is_empty());
}
}
15 changes: 0 additions & 15 deletions crates/mergify-stack/src/revision_note.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,21 +322,6 @@ mod tests {
);
}

#[test]
fn recover_pending_rejects_plain_reason() {
assert!(
recover_pending(
"fixed a typo in the docs",
GH,
"o",
"r",
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
)
.is_none()
);
}

// --- git IO ---

fn init_repo() -> TempDir {
Expand Down
Loading