Fix the test for non-dev test runs (#55089)

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov authored and GitHub committed 2026-04-28 14:55:26 +00:00
1 parent 4b257ca30d
commit 3105a8e93f
1 file changed
+4 -5
+4 -5
View File
@@ -1786,11 +1786,10 @@ mod tests {
#[gpui::test]
fn test_default_settings_release_channel_overrides(cx: &mut App) {
assert_eq!(
*release_channel::RELEASE_CHANNEL,
release_channel::ReleaseChannel::Dev,
"tests expect the dev release channel",
);
// The test deals with overrides and should ignore the other set-ups (Preview and Stable runs)
if *release_channel::RELEASE_CHANNEL != release_channel::ReleaseChannel::Dev {
return;
}
let mut defaults: serde_json::Value =
crate::parse_json_with_comments(&default_settings()).unwrap();