File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,18 +55,18 @@ def test_merge_json_files_empty_existing(tmp_path):
5555# --- Dimension 3: Real-world Simulation ---
5656
5757def test_merge_vscode_realistic_scenario (tmp_path ):
58- """A realistic VSCode settings.json with many existing preferences."""
58+ """A realistic VSCode settings.json with many existing preferences, comments, and trailing commas ."""
5959 existing_file = tmp_path / "vscode_settings.json"
6060 existing_file .write_text ("""
6161 {
6262 "editor.fontSize": 12,
63- "editor.formatOnSave": true,
63+ "editor.formatOnSave": true, /* block comment */
6464 "files.exclude": {
6565 "**/.git": true,
66- "**/node_modules": true
66+ "**/node_modules": true,
6767 },
6868 "chat.promptFilesRecommendations": {
69- "existing.tool": true
69+ "existing.tool": true,
7070 } // User comment
7171 }
7272 """ )
You can’t perform that action at this time.
0 commit comments