Skip to content

Commit 4614261

Browse files
committed
test: update breaking toml test behavior
1 parent 34d95e4 commit 4614261

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/config/config_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func TestWriteConfig(t *testing.T) {
255255
// Assert
256256
assert.NoError(t, err)
257257
contentBytes, _ := ioutil.ReadFile(c.viper.ConfigFileUsed())
258-
assert.Contains(t, string(contentBytes), `project_mode = "new_team_mode"`)
258+
assert.Contains(t, string(contentBytes), `project_mode = 'new_team_mode'`)
259259
})
260260

261261
t.Run("use project", func(t *testing.T) {
@@ -272,7 +272,7 @@ func TestWriteConfig(t *testing.T) {
272272
// Assert
273273
assert.NoError(t, err)
274274
contentBytes, _ := ioutil.ReadFile(c.viper.ConfigFileUsed())
275-
assert.Contains(t, string(contentBytes), `project_id = "new_team_id"`)
275+
assert.Contains(t, string(contentBytes), `project_id = 'new_team_id'`)
276276
})
277277

278278
t.Run("use profile", func(t *testing.T) {
@@ -290,7 +290,7 @@ func TestWriteConfig(t *testing.T) {
290290
// Assert
291291
assert.NoError(t, err)
292292
contentBytes, _ := ioutil.ReadFile(c.viper.ConfigFileUsed())
293-
assert.Contains(t, string(contentBytes), `profile = "account_3"`)
293+
assert.Contains(t, string(contentBytes), `profile = 'account_3'`)
294294
})
295295

296296
t.Run("remove profile", func(t *testing.T) {

0 commit comments

Comments
 (0)