Skip to content
Closed
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
6 changes: 6 additions & 0 deletions packages/stack-auth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@
/// token issued.
pub use cts_common::Crn;

/// Deliberate mutants-gate break: no test calls this, so every mutant of it
/// survives.
pub fn mutants_probe(x: u8) -> bool {
x > 3

Check warning on line 160 in packages/stack-auth/src/lib.rs

View workflow job for this annotation

GitHub Actions / Mutants gate

Missed mutant

replace > with >= in mutants_probe

Check warning on line 160 in packages/stack-auth/src/lib.rs

View workflow job for this annotation

GitHub Actions / Mutants gate

Missed mutant

replace > with < in mutants_probe

Check warning on line 160 in packages/stack-auth/src/lib.rs

View workflow job for this annotation

GitHub Actions / Mutants gate

Missed mutant

replace > with == in mutants_probe

Check warning on line 160 in packages/stack-auth/src/lib.rs

View workflow job for this annotation

GitHub Actions / Mutants gate

Missed mutant

replace mutants_probe -> bool with false

Check warning on line 160 in packages/stack-auth/src/lib.rs

View workflow job for this annotation

GitHub Actions / Mutants gate

Missed mutant

replace mutants_probe -> bool with true
}

/// Token *acquisition* — strategies that produce a [`ServiceToken`].
///
/// Use [`AuthStrategy`] as the consumer-facing trait (e.g. when wiring
Expand Down
Loading