We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 607c49c commit b88a5a0Copy full SHA for b88a5a0
internal/pkg/devcontainers/template_test.go
@@ -14,7 +14,7 @@ func TestSetDevcontainerName(t *testing.T) {
14
assert.NoError(t, err)
15
defer os.Remove(f.Name())
16
17
- f.WriteString(`{
+ _, _ = f.WriteString(`{
18
"name": "initial",
19
// here's a comment!
20
"otherProperties": [
@@ -23,7 +23,8 @@ func TestSetDevcontainerName(t *testing.T) {
23
]
24
}`)
25
26
- SetDevcontainerName(f.Name(), "newName")
+ err = SetDevcontainerName(f.Name(), "newName")
27
+ assert.NoError(t, err)
28
29
buf, err := ioutil.ReadFile(f.Name())
30
0 commit comments