From 0267f457f349ac2e99a35fd1a6c50494004424cc Mon Sep 17 00:00:00 2001 From: Ansgar Mertens Date: Wed, 21 Aug 2024 16:18:17 +0200 Subject: [PATCH] fix: update the range in fractional number partial test as parsing now includes the dot in the returned range --- decoder/expr_literal_value_completion_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decoder/expr_literal_value_completion_test.go b/decoder/expr_literal_value_completion_test.go index bd2f0b70..eb09284b 100644 --- a/decoder/expr_literal_value_completion_test.go +++ b/decoder/expr_literal_value_completion_test.go @@ -415,7 +415,7 @@ func TestCompletionAtPos_exprLiteralValue(t *testing.T) { Range: hcl.Range{ Filename: "test.tf", Start: hcl.Pos{Line: 1, Column: 8, Byte: 7}, - End: hcl.Pos{Line: 1, Column: 10, Byte: 9}, + End: hcl.Pos{Line: 1, Column: 11, Byte: 10}, }, }, },