Skip to content

Commit 3f345cd

Browse files
committed
feedback
1 parent 04e622d commit 3f345cd

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

decoder/hover_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ import (
88
"testing"
99

1010
"github.com/google/go-cmp/cmp"
11-
"github.com/zclconf/go-cty-debug/ctydebug"
12-
"github.com/zclconf/go-cty/cty"
1311
"github.com/hashicorp/hcl-lang/lang"
1412
"github.com/hashicorp/hcl-lang/schema"
1513
"github.com/hashicorp/hcl/v2"
1614
"github.com/hashicorp/hcl/v2/hclsyntax"
1715
"github.com/hashicorp/hcl/v2/json"
16+
"github.com/zclconf/go-cty-debug/ctydebug"
17+
"github.com/zclconf/go-cty/cty"
1818
)
1919

2020
func TestDecoder_HoverAtPos_noSchema(t *testing.T) {

decoder/semantic_tokens.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import (
44
"context"
55
"sort"
66

7-
"github.com/zclconf/go-cty/cty"
87
icontext "github.com/hashicorp/hcl-lang/context"
98
"github.com/hashicorp/hcl-lang/lang"
109
"github.com/hashicorp/hcl-lang/reference"
1110
"github.com/hashicorp/hcl-lang/schema"
1211
"github.com/hashicorp/hcl/v2"
1312
"github.com/hashicorp/hcl/v2/hclsyntax"
13+
"github.com/zclconf/go-cty/cty"
1414
)
1515

1616
// SemanticTokensInFile returns a sequence of semantic tokens

decoder/semantic_tokens_expr_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import (
66
"testing"
77

88
"github.com/google/go-cmp/cmp"
9-
"github.com/zclconf/go-cty/cty"
109
"github.com/hashicorp/hcl-lang/lang"
1110
"github.com/hashicorp/hcl-lang/reference"
1211
"github.com/hashicorp/hcl-lang/schema"
1312
"github.com/hashicorp/hcl/v2"
1413
"github.com/hashicorp/hcl/v2/hclsyntax"
14+
"github.com/zclconf/go-cty/cty"
1515
)
1616

1717
func TestDecoder_SemanticTokensInFile_expressions(t *testing.T) {

schema/body_schema.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type BodySchema struct {
5151
}
5252

5353
type BodyExtensions struct {
54-
Count bool // count attribute + count.index refs
54+
Count bool // count attribute + count.index refs
5555
}
5656

5757
func (be *BodyExtensions) Copy() *BodyExtensions {
@@ -60,7 +60,7 @@ func (be *BodyExtensions) Copy() *BodyExtensions {
6060
}
6161

6262
return &BodyExtensions{
63-
Count: be.Count,
63+
Count: be.Count,
6464
}
6565
}
6666

0 commit comments

Comments
 (0)