We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 312a71a commit 2b4066eCopy full SHA for 2b4066e
dockerfmt_test.go
@@ -2,7 +2,6 @@ package main
2
3
import (
4
"fmt"
5
- "os"
6
"path/filepath"
7
"strings"
8
"testing"
@@ -34,10 +33,10 @@ func TestFormatter(t *testing.T) {
34
33
formattedLines := lib.FormatFileLines(originalLines, c)
35
36
// Write outFile to directory
37
- err = os.WriteFile(outFile, []byte(formattedLines), 0644)
38
- if err != nil {
39
- t.Fatalf("Failed to write to file %s: %v", outFile, err)
40
- }
+ // err = os.WriteFile(outFile, []byte(formattedLines), 0644)
+ // if err != nil {
+ // t.Fatalf("Failed to write to file %s: %v", outFile, err)
+ // }
41
42
// Read outFile
43
outLines, err := lib.GetFileLines(outFile)
0 commit comments