diff options
author | Liam Devine <dmail00@gmail.com> | 2011-05-07 05:30:28 +0400 |
---|---|---|
committer | Liam Devine <dmail00@gmail.com> | 2011-05-07 05:30:28 +0400 |
commit | 82a86229de6b571c89bfb4b67dffcf38e1fc1703 (patch) | |
tree | 0d3d6d981983e259ea288b7686d8c761082c6004 /tests | |
parent | 07bf2d32535bb6be9680385f6c3a790d6f8c57e6 (diff) |
Fixed bug 3297634 - UnitTest++ folder breaks Xcode 3
Xcode itself only quotes when it needs to yet it is fine to always quote the string.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/actions/xcode/test_xcode_project.lua | 11 |
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 d667bd1..91a83d1 100644 --- a/tests/actions/xcode/test_xcode_project.lua +++ b/tests/actions/xcode/test_xcode_project.lua @@ -359,7 +359,7 @@ [premake] /* premake */, ); name = "include"; - path = include; + path = "include"; sourceTree = "<group>"; }; [premake] /* premake */ = { @@ -368,13 +368,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() |