@@ -180,9 +180,9 @@ func Test_ConfigDir(t *testing.T) {
180180 {
181181 name : "INSTILL_CONFIG_DIR specified" ,
182182 env : map [string ]string {
183- "INSTILL_CONFIG_DIR" : filepath .Join (tempDir , "INSTILL_CONFIG_DIR " ),
183+ "INSTILL_CONFIG_DIR" : filepath .Join (tempDir , "instill_config_dir " ),
184184 },
185- output : filepath .Join (tempDir , "INSTILL_CONFIG_DIR " ),
185+ output : filepath .Join (tempDir , "instill_config_dir " ),
186186 },
187187 {
188188 name : "XDG_CONFIG_HOME specified" ,
@@ -194,27 +194,27 @@ func Test_ConfigDir(t *testing.T) {
194194 {
195195 name : "INSTILL_CONFIG_DIR and XDG_CONFIG_HOME specified" ,
196196 env : map [string ]string {
197- "INSTILL_CONFIG_DIR" : filepath .Join (tempDir , "INSTILL_CONFIG_DIR " ),
197+ "INSTILL_CONFIG_DIR" : filepath .Join (tempDir , "instill_config_dir " ),
198198 "XDG_CONFIG_HOME" : tempDir ,
199199 },
200- output : filepath .Join (tempDir , "INSTILL_CONFIG_DIR " ),
200+ output : filepath .Join (tempDir , "instill_config_dir " ),
201201 },
202202 {
203203 name : "AppData specified" ,
204204 onlyWindows : true ,
205205 env : map [string ]string {
206206 "AppData" : tempDir ,
207207 },
208- output : filepath .Join (tempDir , "INSTILL CLI" ),
208+ output : filepath .Join (tempDir , "Instill CLI" ),
209209 },
210210 {
211211 name : "INSTILL_CONFIG_DIR and AppData specified" ,
212212 onlyWindows : true ,
213213 env : map [string ]string {
214- "INSTILL_CONFIG_DIR" : filepath .Join (tempDir , "INSTILL_CONFIG_DIR " ),
214+ "INSTILL_CONFIG_DIR" : filepath .Join (tempDir , "instill_config_dir " ),
215215 "AppData" : tempDir ,
216216 },
217- output : filepath .Join (tempDir , "INSTILL_CONFIG_DIR " ),
217+ output : filepath .Join (tempDir , "instill_config_dir " ),
218218 },
219219 {
220220 name : "XDG_CONFIG_HOME and AppData specified" ,
0 commit comments