Skip to content

Commit

Permalink
Run gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tchajed committed Jul 19, 2024
1 parent e5229cf commit da28719
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"strings"
"testing"

"github.com/stretchr/testify/assert"
"github.com/goose-lang/goose"
"github.com/stretchr/testify/assert"
)

var updateGold = flag.Bool("update-gold",
Expand Down
14 changes: 7 additions & 7 deletions goose.go
Original file line number Diff line number Diff line change
Expand Up @@ -2018,18 +2018,18 @@ func stringLitValue(lit *ast.BasicLit) string {
var builtinImports = map[string]bool{
"github.com/goose-lang/goose/machine": true,
"github.com/goose-lang/goose/machine/filesys": true,
"github.com/mit-pdos/gokv/grove_ffi": true,
"github.com/mit-pdos/gokv/grove_ffi": true,
"github.com/goose-lang/goose/machine/disk": true,
"github.com/goose-lang/goose/machine/async_disk": true,
"github.com/mit-pdos/gokv/time": true,
"github.com/mit-pdos/vmvcc/cfmutex": true,
"sync": true,
"log": true,
"fmt": true,
"github.com/mit-pdos/gokv/time": true,
"github.com/mit-pdos/vmvcc/cfmutex": true,
"sync": true,
"log": true,
"fmt": true,
}

var ffiMapping = map[string]string{
"github.com/mit-pdos/gokv/grove_ffi": "grove",
"github.com/mit-pdos/gokv/grove_ffi": "grove",
"github.com/goose-lang/goose/machine/disk": "disk",
"github.com/goose-lang/goose/machine/async_disk": "async_disk",
}
Expand Down
2 changes: 1 addition & 1 deletion internal/examples/semantics/generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion machine/filesys/filesys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sort"
"testing"

"github.com/stretchr/testify/suite"
"github.com/goose-lang/goose/machine/filesys"
"github.com/stretchr/testify/suite"
)

// FilesysSuite implements a filesystem test suite generic over fs.
Expand Down

0 comments on commit da28719

Please sign in to comment.