From 22a7d638e1f007c96b2463c621236bf1ddb371ca Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 16 Sep 2023 09:42:48 +0200 Subject: [PATCH] Fix spelling of superseded --- docs/src/usage/std.md | 2 +- selene-lib/default_std/lua51.yml | 2 +- selene-lib/default_std/roblox_base.yml | 4 ++-- selene-lib/tests/lints/deprecated/deprecated_functions.stderr | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/usage/std.md b/docs/src/usage/std.md index 19e97f3c..cc221491 100644 --- a/docs/src/usage/std.md +++ b/docs/src/usage/std.md @@ -150,7 +150,7 @@ globals: - type: table - type: number deprecated: - message: "`table.getn` has been superceded by #." + message: "`table.getn` has been superseded by #." replace: - "#%1" ``` diff --git a/selene-lib/default_std/lua51.yml b/selene-lib/default_std/lua51.yml index 387aacea..b0098ac1 100644 --- a/selene-lib/default_std/lua51.yml +++ b/selene-lib/default_std/lua51.yml @@ -593,7 +593,7 @@ globals: - type: table - type: number deprecated: - message: "`table.getn` has been superceded by #." + message: "`table.getn` has been superseded by #." replace: - "#%1" must_use: true diff --git a/selene-lib/default_std/roblox_base.yml b/selene-lib/default_std/roblox_base.yml index 07e46fa5..4fa75387 100644 --- a/selene-lib/default_std/roblox_base.yml +++ b/selene-lib/default_std/roblox_base.yml @@ -611,7 +611,7 @@ structs: method: true connect: deprecated: - message: "lowercase methods have been superceded by uppercase ones" + message: "lowercase methods have been superseded by uppercase ones" replace: - "Connect(%1)" args: @@ -626,7 +626,7 @@ structs: method: true wait: deprecated: - message: "lowercase methods have been superceded by uppercase ones" + message: "lowercase methods have been superseded by uppercase ones" replace: - "Wait(%1)" args: diff --git a/selene-lib/tests/lints/deprecated/deprecated_functions.stderr b/selene-lib/tests/lints/deprecated/deprecated_functions.stderr index a1864d6b..724687ff 100644 --- a/selene-lib/tests/lints/deprecated/deprecated_functions.stderr +++ b/selene-lib/tests/lints/deprecated/deprecated_functions.stderr @@ -12,7 +12,7 @@ error[deprecated]: standard library function `table.getn` is deprecated 2 │ print(table.getn(x)) │ ^^^^^^^^^^^^^ │ - = `table.getn` has been superceded by #. + = `table.getn` has been superseded by #. = try: #x error[deprecated]: standard library function `table.foreach` is deprecated