From 75a75dc62a56283d0c6e7fa6e027018684f63cd1 Mon Sep 17 00:00:00 2001 From: Griffin Castles Date: Sat, 17 Feb 2024 21:43:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(mixed=5Ftable):=20Error=20me?= =?UTF-8?q?ssage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Error messages now match (should be good to merge now) --- .../tests/lints/mixed_table/mixed_table.stderr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/selene-lib/tests/lints/mixed_table/mixed_table.stderr b/selene-lib/tests/lints/mixed_table/mixed_table.stderr index 44a9e4e3..24ad2049 100644 --- a/selene-lib/tests/lints/mixed_table/mixed_table.stderr +++ b/selene-lib/tests/lints/mixed_table/mixed_table.stderr @@ -1,4 +1,4 @@ -error[mixed_table]: mixed tables are heavily discouraged due to factors such as: type safety, readability, compatibility, and debugging +error[mixed_table]: mixed tables should be avoided, as they can cause confusing and hard to debug issues such as during iteration or encoding ┌─ mixed_table.lua:2:5 │ 2 │ ╭ "", @@ -7,7 +7,7 @@ error[mixed_table]: mixed tables are heavily discouraged due to factors such as: │ = help: change this table to either an array or dictionary -error[mixed_table]: mixed tables are heavily discouraged due to factors such as: type safety, readability, compatibility, and debugging +error[mixed_table]: mixed tables should be avoided, as they can cause confusing and hard to debug issues such as during iteration or encoding ┌─ mixed_table.lua:7:5 │ 7 │ ╭ {}, @@ -16,7 +16,7 @@ error[mixed_table]: mixed tables are heavily discouraged due to factors such as: │ = help: change this table to either an array or dictionary -error[mixed_table]: mixed tables are heavily discouraged due to factors such as: type safety, readability, compatibility, and debugging +error[mixed_table]: mixed tables should be avoided, as they can cause confusing and hard to debug issues such as during iteration or encoding ┌─ mixed_table.lua:12:5 │ 12 │ ╭ a, @@ -25,7 +25,7 @@ error[mixed_table]: mixed tables are heavily discouraged due to factors such as: │ = help: change this table to either an array or dictionary -error[mixed_table]: mixed tables are heavily discouraged due to factors such as: type safety, readability, compatibility, and debugging +error[mixed_table]: mixed tables should be avoided, as they can cause confusing and hard to debug issues such as during iteration or encoding ┌─ mixed_table.lua:19:5 │ 19 │ ╭ 1, @@ -34,7 +34,7 @@ error[mixed_table]: mixed tables are heavily discouraged due to factors such as: │ = help: change this table to either an array or dictionary -error[mixed_table]: mixed tables are heavily discouraged due to factors such as: type safety, readability, compatibility, and debugging +error[mixed_table]: mixed tables should be avoided, as they can cause confusing and hard to debug issues such as during iteration or encoding ┌─ mixed_table.lua:25:5 │ 25 │ ╭ [c] = d, @@ -43,7 +43,7 @@ error[mixed_table]: mixed tables are heavily discouraged due to factors such as: │ = help: change this table to either an array or dictionary -error[mixed_table]: mixed tables are heavily discouraged due to factors such as: type safety, readability, compatibility, and debugging +error[mixed_table]: mixed tables should be avoided, as they can cause confusing and hard to debug issues such as during iteration or encoding ┌─ mixed_table.lua:30:5 │ 30 │ ╭ a = b,