diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2024-04-28 16:51:21 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2024-04-28 16:51:21 +0200 |
| commit | 49a63471d91120a23ec86f1621e99155d1be55c2 (patch) | |
| tree | 3dfafeb0653c094d79b9e780b1dbfd38fa0b206b /tests | |
| parent | 0cb994a3b520b8800fa2dbe7e3b279f9496b6f59 (diff) | |
Fix issues with space in { on comp literals without types.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/definition_test.odin | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/definition_test.odin b/tests/definition_test.odin index 5c60dc8..d98d92f 100644 --- a/tests/definition_test.odin +++ b/tests/definition_test.odin @@ -24,7 +24,7 @@ ast_goto_comp_lit_field :: proc(t: ^testing.T) { } location := common.Location { - range = { + range = { start = {line = 2, character = 12}, end = {line = 2, character = 13}, }, @@ -51,7 +51,7 @@ ast_goto_comp_lit_field_indexed :: proc(t: ^testing.T) { } location := common.Location { - range = { + range = { start = {line = 2, character = 12}, end = {line = 2, character = 13}, }, @@ -81,7 +81,7 @@ ast_goto_untyped_comp_lit_in_proc :: proc(t: ^testing.T) { } location := common.Location { - range = { + range = { start = {line = 2, character = 4}, end = {line = 2, character = 7}, }, @@ -107,7 +107,7 @@ ast_goto_bit_field_definition :: proc(t: ^testing.T) { } location := common.Location { - range = { + range = { start = {line = 1, character = 3}, end = {line = 1, character = 15}, }, @@ -134,7 +134,7 @@ ast_goto_bit_field_field_definition :: proc(t: ^testing.T) { } location := common.Location { - range = { + range = { start = {line = 2, character = 4}, end = {line = 2, character = 7}, }, @@ -164,7 +164,7 @@ ast_goto_bit_field_field_in_proc :: proc(t: ^testing.T) { } location := common.Location { - range = { + range = { start = {line = 2, character = 4}, end = {line = 2, character = 7}, }, |