Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

edit_prediction: Update text fixture (#65336)

Neel20aff3132360
diff --git a/crates/edit_prediction/src/edit_prediction_tests.rs b/crates/edit_prediction/src/edit_prediction_tests.rs
index 331bc6b3dbe..e8845b9df76 100644
--- a/crates/edit_prediction/src/edit_prediction_tests.rs
+++ b/crates/edit_prediction/src/edit_prediction_tests.rs
@@ -2866,13 +2866,12 @@ async fn test_free_plan_edit_predictions_ended_for_zed_provider(cx: &mut TestApp
let (ep_store, _requests) = init_test_with_fake_client(cx);
let user_store = ep_store.read_with(cx, |ep_store, _| ep_store.user_store.clone());
- // Cloud reports a 2,000 allowance for Free, which must not keep predictions on.
let set_plan_and_usage = |plan, amount, cx: &mut TestAppContext| {
user_store.update(cx, |user_store, cx| {
user_store.set_current_organization_plan_for_test(plan, cx);
user_store.update_edit_prediction_usage(
EditPredictionUsage(client::RequestUsage {
- limit: UsageLimit::Limited(2_000),
+ limit: UsageLimit::Limited(0),
amount,
}),
cx,