Skip to content

Commit

Permalink
Add reminder to update test on new indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Aug 21, 2024
1 parent 89dbc24 commit 260fd26
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions mullvad-types/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,24 @@ mod tests {
expected_indicators
);
}

// !If this match statement fails to compile, it means that a new feature indicator has been
// added. Please update this test to include the new feature indicator.
match FeatureIndicator::QuantumResistance {
FeatureIndicator::QuantumResistance => {}
FeatureIndicator::Multihop => {}
FeatureIndicator::BridgeMode => {}
FeatureIndicator::SplitTunneling => {}
FeatureIndicator::LockdownMode => {}
FeatureIndicator::Udp2Tcp => {}
FeatureIndicator::Shadowsocks => {}
FeatureIndicator::LanSharing => {}
FeatureIndicator::DnsContentBlockers => {}
FeatureIndicator::CustomDns => {}
FeatureIndicator::ServerIpOverride => {}
FeatureIndicator::CustomMtu => {}
FeatureIndicator::CustomMssFix => {}
FeatureIndicator::Daita => {}
}
}
}

0 comments on commit 260fd26

Please sign in to comment.