diff options
author | starkos <none@none> | 2010-03-08 17:57:21 +0300 |
---|---|---|
committer | starkos <none@none> | 2010-03-08 17:57:21 +0300 |
commit | 0cdbca2f1edfe184c126e29d866812e8bb995463 (patch) | |
tree | 71f74fa97f5c5936b0b7955d55b6b4c0510935eb /tests/base | |
parent | 2dc146f826296df90a2ef8cedec762c7b250525a (diff) |
Patch 2965229: Fix handling of '+' symbol in file patterns (Rachel Blum)
Diffstat (limited to 'tests/base')
-rw-r--r-- | tests/base/test_path.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/base/test_path.lua b/tests/base/test_path.lua index 7185e36..4a6580c 100644 --- a/tests/base/test_path.lua +++ b/tests/base/test_path.lua @@ -209,3 +209,8 @@ test.isequal(".*/xcode/[^/]*", p) end + function suite.wildcards_MatchPlusSign() + local patt = path.wildcards("file+name.*") + local name = "file+name.c" + test.isequal(name, name:match(patt)) + end |