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:
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()