feat: fix format

This commit is contained in:
2023-04-06 22:33:29 +02:00
parent 8d514ab698
commit 44575dd763
2 changed files with 7 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ func TestCompile(t *testing.T) {
t.Run("With testdata", func(t *testing.T) {
ctx := context.Background()
err := Format(ctx, WithPath("testdata/test_module"))
err := format(ctx, withPath("testdata/test_module"))
assert.NoError(t, err)
file, err := os.ReadFile("testdata/test_module/very_long_line.go")