want things simpler
This commit is contained in:
@@ -373,9 +373,6 @@ function TestThemeValidation:test_validate_valid_colors()
|
||||
luaunit.assertEquals(#errors, 0)
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
function TestThemeValidation:test_validate_colors_non_table()
|
||||
local theme = {
|
||||
name = "Test Theme",
|
||||
@@ -726,7 +723,6 @@ function TestThemeValidation:test_sanitize_nil_theme()
|
||||
luaunit.assertEquals(sanitized.name, "Invalid Theme")
|
||||
end
|
||||
|
||||
|
||||
function TestThemeValidation:test_sanitize_theme_with_non_string_name()
|
||||
local theme = {
|
||||
name = 123,
|
||||
@@ -735,7 +731,6 @@ function TestThemeValidation:test_sanitize_theme_with_non_string_name()
|
||||
luaunit.assertEquals(type(sanitized.name), "string")
|
||||
end
|
||||
|
||||
|
||||
function TestThemeValidation:test_sanitize_removes_non_string_color_names()
|
||||
local theme = {
|
||||
name = "Test",
|
||||
@@ -774,8 +769,6 @@ end
|
||||
|
||||
-- === Complex Theme Validation ===
|
||||
|
||||
|
||||
|
||||
-- Run tests if this file is executed directly
|
||||
if not _G.RUNNING_ALL_TESTS then
|
||||
os.exit(luaunit.LuaUnit.run())
|
||||
|
||||
Reference in New Issue
Block a user