update
This commit is contained in:
@@ -4,10 +4,10 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/mmcloughlin/avo/buildtags"
|
||||
"github.com/mmcloughlin/avo/internal/prnt"
|
||||
"github.com/mmcloughlin/avo/ir"
|
||||
"github.com/mmcloughlin/avo/operand"
|
||||
"sources.truenas.cloud/code/avo/buildtags"
|
||||
"sources.truenas.cloud/code/avo/internal/prnt"
|
||||
"sources.truenas.cloud/code/avo/ir"
|
||||
"sources.truenas.cloud/code/avo/operand"
|
||||
)
|
||||
|
||||
// dot is the pesky unicode dot used in Go assembly.
|
||||
|
||||
@@ -3,11 +3,11 @@ package printer_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mmcloughlin/avo/attr"
|
||||
"github.com/mmcloughlin/avo/build"
|
||||
"github.com/mmcloughlin/avo/buildtags"
|
||||
"github.com/mmcloughlin/avo/printer"
|
||||
"github.com/mmcloughlin/avo/reg"
|
||||
"sources.truenas.cloud/code/avo/attr"
|
||||
"sources.truenas.cloud/code/avo/build"
|
||||
"sources.truenas.cloud/code/avo/buildtags"
|
||||
"sources.truenas.cloud/code/avo/printer"
|
||||
"sources.truenas.cloud/code/avo/reg"
|
||||
)
|
||||
|
||||
func TestBasic(t *testing.T) {
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/mmcloughlin/avo/internal/stack"
|
||||
"github.com/mmcloughlin/avo/ir"
|
||||
"sources.truenas.cloud/code/avo/internal/stack"
|
||||
"sources.truenas.cloud/code/avo/ir"
|
||||
)
|
||||
|
||||
// Printer can produce output for an avo File.
|
||||
|
||||
@@ -3,7 +3,7 @@ package printer_test
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/mmcloughlin/avo/printer"
|
||||
"sources.truenas.cloud/code/avo/printer"
|
||||
)
|
||||
|
||||
func ExampleConfig_GeneratedBy() {
|
||||
|
||||
@@ -3,9 +3,9 @@ package printer
|
||||
import (
|
||||
"go/format"
|
||||
|
||||
"github.com/mmcloughlin/avo/buildtags"
|
||||
"github.com/mmcloughlin/avo/internal/prnt"
|
||||
"github.com/mmcloughlin/avo/ir"
|
||||
"sources.truenas.cloud/code/avo/buildtags"
|
||||
"sources.truenas.cloud/code/avo/internal/prnt"
|
||||
"sources.truenas.cloud/code/avo/ir"
|
||||
)
|
||||
|
||||
type stubs struct {
|
||||
|
||||
@@ -3,9 +3,9 @@ package printer_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mmcloughlin/avo/build"
|
||||
"github.com/mmcloughlin/avo/buildtags"
|
||||
"github.com/mmcloughlin/avo/printer"
|
||||
"sources.truenas.cloud/code/avo/build"
|
||||
"sources.truenas.cloud/code/avo/buildtags"
|
||||
"sources.truenas.cloud/code/avo/printer"
|
||||
)
|
||||
|
||||
func TestStubsPragmas(t *testing.T) {
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/mmcloughlin/avo/build"
|
||||
"github.com/mmcloughlin/avo/printer"
|
||||
"sources.truenas.cloud/code/avo/build"
|
||||
"sources.truenas.cloud/code/avo/printer"
|
||||
)
|
||||
|
||||
func AssertPrintsLines(t *testing.T, ctx *build.Context, pb printer.Builder, expect []string) {
|
||||
|
||||
Reference in New Issue
Block a user