chore: bump scintilla and lexilla version

This commit is contained in:
2025-10-12 13:51:32 +08:00
parent 9fb3681e3a
commit db20417ce7
1093 changed files with 138943 additions and 128144 deletions

View File

@ -0,0 +1,28 @@
/** @file testInList.cxx
** Unit Tests for Lexilla internal data structures
**/
#include <cstdlib>
#include <cassert>
#include <string_view>
#include <initializer_list>
#include "InList.h"
#include "catch.hpp"
using namespace Lexilla;
// Test InList.
TEST_CASE("InList") {
SECTION("Basic") {
REQUIRE(InList("dog", {"cat", "dog", "frog"}));
REQUIRE(!InList("fly", {"cat", "dog", "frog"}));
REQUIRE(InListCaseInsensitive("DOG", {"cat", "dog", "frog"}));
REQUIRE(!InListCaseInsensitive("fly", {"cat", "dog", "frog"}));
}
}