mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #693] [MERGED] Set lower limit for glob pattern resolution in test mode #675
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/693
Author: @odenix
Created: 10/16/2024
Status: ✅ Merged
Merged: 10/16/2024
Merged by: @bioball
Base:
main← Head:max-list-elements📝 Commits (1)
5439f22Set lower limit for glob pattern resolution in test mode📊 Changes
2 files changed (+11 additions, -4 deletions)
View changed files
📝
pkl-core/src/main/java/org/pkl/core/util/GlobResolver.java(+10 -3)📝
pkl-core/src/main/java/org/pkl/core/util/IoUtils.java(+1 -1)📄 Description
Motivation:
Speed up the test that verifies enforcement of the limit for glob pattern resolution (invalidGlobImport6.pkl).
Changes:
Result:
Test takes 0.5 instead of 15 seconds to run (on my machine).
Fixes #691.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.