File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ import (
8
8
"testing"
9
9
10
10
"github.com/google/go-cmp/cmp"
11
- "github.com/zclconf/go-cty-debug/ctydebug"
12
- "github.com/zclconf/go-cty/cty"
13
11
"github.com/hashicorp/hcl-lang/lang"
14
12
"github.com/hashicorp/hcl-lang/schema"
15
13
"github.com/hashicorp/hcl/v2"
16
14
"github.com/hashicorp/hcl/v2/hclsyntax"
17
15
"github.com/hashicorp/hcl/v2/json"
16
+ "github.com/zclconf/go-cty-debug/ctydebug"
17
+ "github.com/zclconf/go-cty/cty"
18
18
)
19
19
20
20
func TestDecoder_HoverAtPos_noSchema (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import (
4
4
"context"
5
5
"sort"
6
6
7
- "github.com/zclconf/go-cty/cty"
8
7
icontext "github.com/hashicorp/hcl-lang/context"
9
8
"github.com/hashicorp/hcl-lang/lang"
10
9
"github.com/hashicorp/hcl-lang/reference"
11
10
"github.com/hashicorp/hcl-lang/schema"
12
11
"github.com/hashicorp/hcl/v2"
13
12
"github.com/hashicorp/hcl/v2/hclsyntax"
13
+ "github.com/zclconf/go-cty/cty"
14
14
)
15
15
16
16
// SemanticTokensInFile returns a sequence of semantic tokens
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ import (
6
6
"testing"
7
7
8
8
"github.com/google/go-cmp/cmp"
9
- "github.com/zclconf/go-cty/cty"
10
9
"github.com/hashicorp/hcl-lang/lang"
11
10
"github.com/hashicorp/hcl-lang/reference"
12
11
"github.com/hashicorp/hcl-lang/schema"
13
12
"github.com/hashicorp/hcl/v2"
14
13
"github.com/hashicorp/hcl/v2/hclsyntax"
14
+ "github.com/zclconf/go-cty/cty"
15
15
)
16
16
17
17
func TestDecoder_SemanticTokensInFile_expressions (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ type BodySchema struct {
51
51
}
52
52
53
53
type BodyExtensions struct {
54
- Count bool // count attribute + count.index refs
54
+ Count bool // count attribute + count.index refs
55
55
}
56
56
57
57
func (be * BodyExtensions ) Copy () * BodyExtensions {
@@ -60,7 +60,7 @@ func (be *BodyExtensions) Copy() *BodyExtensions {
60
60
}
61
61
62
62
return & BodyExtensions {
63
- Count : be .Count ,
63
+ Count : be .Count ,
64
64
}
65
65
}
66
66
You can’t perform that action at this time.
0 commit comments