From 98891912458274857da85ce10ba7c2f5db9ed3c2 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 11 Apr 2024 22:05:33 +0100 Subject: [PATCH] Fix indentation in test files --- test/highlight/comments.bp | 15 +++++++-------- test/highlight/modules.bp | 8 ++++---- test/highlight/properties.bp | 4 ++-- test/highlight/punctuation.bp | 1 - 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/test/highlight/comments.bp b/test/highlight/comments.bp index a355353..5bc50a2 100644 --- a/test/highlight/comments.bp +++ b/test/highlight/comments.bp @@ -1,10 +1,9 @@ /* This is a comment */ -/* <- comment - ^ comment - ^ comment - */ +// <- comment +// ^ comment +// ^ comment + // And another comment -/* <- comment - ^ comment - ^ comment - */ +// <- comment +// ^ comment +// ^ comment diff --git a/test/highlight/modules.bp b/test/highlight/modules.bp index e115e6a..51ab058 100644 --- a/test/highlight/modules.bp +++ b/test/highlight/modules.bp @@ -4,16 +4,16 @@ foo {} foo () // <- function.call -foo { -// <- function.call +some_module { + // ^ function.call field: 12, // <- variable.parameter another_field: 27, // <- variable.parameter } -foo ( -// <- function.call +some_module ( + // ^ function.call field = 42, // <- variable.parameter done = false, diff --git a/test/highlight/properties.bp b/test/highlight/properties.bp index 8ad2c55..666ad20 100644 --- a/test/highlight/properties.bp +++ b/test/highlight/properties.bp @@ -1,6 +1,6 @@ foo { - field: { - // <- variable.parameter + some_field: { + // ^ variable.parameter key: 42, // <- property }, diff --git a/test/highlight/punctuation.bp b/test/highlight/punctuation.bp index bc00194..ae3ba64 100644 --- a/test/highlight/punctuation.bp +++ b/test/highlight/punctuation.bp @@ -3,7 +3,6 @@ foo ( bar = [ //^ punctuation.bracket { - // <- punctuation.bracket key: "value", // ^ punctuation.delimiter // ^ punctuation.delimiter