Update test once more

This commit is contained in:
Jacob Dufault 2017-11-19 14:48:26 -08:00
parent 475cd6b668
commit 261b04a131

View File

@ -465,16 +465,15 @@ TEST_SUITE("Project") {
"-resource-dir=/w/resource_dir/"}); "-resource-dir=/w/resource_dir/"});
} }
#if false #if false
// FIXME: Fix this test. // FIXME: Fix this test.
TEST_CASE("Path in args") { TEST_CASE("Path in args") {
CheckFlags("/home/user", "/home/user/foo/bar.c", CheckFlags("/home/user", "/home/user/foo/bar.c",
/* raw */ {"cc", "-O0", "foo/bar.c"}, /* raw */ {"cc", "-O0", "foo/bar.c"},
/* expected */ /* expected */
{"-O0", "&foo/bar.c", "-xc", "-std=c11", {"-O0", "-xc", "-std=c11", "-resource-dir=/w/resource_dir/"});
"-resource-dir=/w/resource_dir/"});
} }
#endif #endif
// Checks flag parsing for a random chromium file in comparison to what // Checks flag parsing for a random chromium file in comparison to what
// YouCompleteMe fetches. // YouCompleteMe fetches.