@@ -42,9 +42,9 @@ func TestOverrideVSCodeConfigs(t *testing.T) {
42
42
// Create existing settings with user preferences
43
43
existingSettings := map [string ]interface {}{
44
44
"workbench.colorTheme" : "Dracula" ,
45
- "editor.fontSize" : 14 ,
46
- "editor.tabSize" : 2 ,
47
- "files.autoSave" : "onWindowChange" ,
45
+ "editor.fontSize" : 14 ,
46
+ "editor.tabSize" : 2 ,
47
+ "files.autoSave" : "onWindowChange" ,
48
48
}
49
49
data , err := json .MarshalIndent (existingSettings , "" , "\t " )
50
50
require .NoError (t , err )
@@ -78,10 +78,10 @@ func TestOverrideVSCodeConfigs(t *testing.T) {
78
78
fs := afero .NewMemMapFs ()
79
79
// Create existing settings that include Coder-specific settings with different values
80
80
existingSettings := map [string ]interface {}{
81
- "workbench.colorTheme" : "Dark+" ,
82
- "git.useIntegratedAskPass" : true , // This should be overridden to false
83
- "github.gitAuthentication" : true , // This should be overridden to false
84
- "editor.wordWrap" : "on" ,
81
+ "workbench.colorTheme" : "Dark+" ,
82
+ "git.useIntegratedAskPass" : true , // This should be overridden to false
83
+ "github.gitAuthentication" : true , // This should be overridden to false
84
+ "editor.wordWrap" : "on" ,
85
85
"terminal.integrated.shell.linux" : "/bin/bash" ,
86
86
}
87
87
data , err := json .MarshalIndent (existingSettings , "" , "\t " )
@@ -116,12 +116,12 @@ func TestOverrideVSCodeConfigs(t *testing.T) {
116
116
// Test with complex existing settings to ensure valid JSON output
117
117
existingSettings := map [string ]interface {}{
118
118
"workbench.colorCustomizations" : map [string ]interface {}{
119
- "editor.background" : "#1e1e1e" ,
119
+ "editor.background" : "#1e1e1e" ,
120
120
"sideBar.background" : "#252526" ,
121
121
},
122
122
"extensions.recommendations" : []string {"ms-python.python" , "golang.go" },
123
- "git.useIntegratedAskPass" : true ,
124
- "editor.rulers" : []int {80 , 120 },
123
+ "git.useIntegratedAskPass" : true ,
124
+ "editor.rulers" : []int {80 , 120 },
125
125
}
126
126
data , err := json .MarshalIndent (existingSettings , "" , "\t " )
127
127
require .NoError (t , err )
0 commit comments