Update config.rs

This commit is contained in:
ChosenName 2024-06-04 21:39:37 -06:00 committed by GitHub
parent 7d8125abe7
commit 55540f1f85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3080,8 +3080,10 @@ mod tests {
let package_json_path = project_root().join("editors/code/package.json");
let mut package_json = fs::read_to_string(&package_json_path).unwrap();
let start_marker = " { \"title\": \"$generated-start\" },\n";
let end_marker = " { \"title\": \"$generated-end\" }\n";
let start_marker =
" {\n \"title\": \"$generated-start\"\n },\n";
let end_marker =
" {\n \"title\": \"$generated-end\"\n }\n";
let start = package_json.find(start_marker).unwrap() + start_marker.len();
let end = package_json.find(end_marker).unwrap();