Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLiam Devine <dmail00@gmail.com>2011-05-07 06:05:16 +0400
committerLiam Devine <dmail00@gmail.com>2011-05-07 06:05:16 +0400
commita9f4a9f6298b0860ecae3f2e2f5fac0ef31e589f (patch)
treec4ae68a3afaaeacaf5bcf221e723cf469dc701d6 /tests
parent873812f9744d3b4ad1c4a3b0993523ee265bd697 (diff)
parent82a86229de6b571c89bfb4b67dffcf38e1fc1703 (diff)
merge with stable
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/xcode/test_xcode_project.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/actions/xcode/test_xcode_project.lua b/tests/actions/xcode/test_xcode_project.lua
index 392e699..9a08ff1 100644
--- a/tests/actions/xcode/test_xcode_project.lua
+++ b/tests/actions/xcode/test_xcode_project.lua
@@ -358,7 +358,7 @@
[premake] /* premake */,
);
name = "include";
- path = include;
+ path = "include";
sourceTree = "<group>";
};
[premake] /* premake */ = {
@@ -367,13 +367,20 @@
[source.h] /* source.h */,
);
name = "premake";
- path = premake;
+ path = "premake";
sourceTree = "<group>";
};
]]
end
+ function suite.PBXGroup_pathHasPlusPlus_PathIsQuoted()
+ files { "RequiresQuoting++/h.h" }
+ prepare()
+ xcode.PBXGroup(tr)
+ test.string_contains( io.endcapture(),'path = "RequiresQuoting%+%+";' )
+ end
+
function suite.PBXGroup_SortsFiles()
files { "test.h", "source.h", "source.cpp" }
prepare()