1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Correct REQUIRED_PROPERTIES handling to not fail if there are no properties.

FossilOrigin-Name: 7a19bef4f572a90fb7896b9360f9c72b052955ca9b0549be870b2b245c1f1b2b
This commit is contained in:
stephan
2023-08-09 22:30:10 +00:00
parent bef0369ff4
commit 35af4c5ff1
4 changed files with 10 additions and 9 deletions

View File

@ -337,7 +337,7 @@ class TestScript2 {
}
private static final Pattern patternRequiredProperties =
Pattern.compile(" REQUIRED_PROPERTIES:[ \\t]*(.*+)\\s*$");
Pattern.compile(" REQUIRED_PROPERTIES:[ \\t]*(\\S.*)\\s*$");
private static final Pattern patternScriptModuleName =
Pattern.compile(" SCRIPT_MODULE_NAME:[ \\t]*(\\S+)\\s*$");
private static final Pattern patternMixedModuleName =

View File

@ -5,6 +5,7 @@
** xMIXED_MODULE_NAME: mixed-module
** xMODULE_NAME: module-name
** xREQUIRED_PROPERTIES: small fast reliable
** REQUIRED_PROPERTIES:
**
*/