diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-08-19 19:27:34 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-08-19 19:27:34 -0700 |
| commit | f219ce0b8c3e84e5fc1df21ad2f2c8b13f0fe413 (patch) | |
| tree | d78ee0a1a2e2a30ee465c6c90cd8544106a9c133 /toolsrc/src/tests_dependencies.cpp | |
| parent | 4d34488649fe5d71b8a553706d960a3784c56bb1 (diff) | |
| download | vcpkg-f219ce0b8c3e84e5fc1df21ad2f2c8b13f0fe413.tar.gz vcpkg-f219ce0b8c3e84e5fc1df21ad2f2c8b13f0fe413.zip | |
[vcpkg] Reorganize some parsing functions.
Diffstat (limited to 'toolsrc/src/tests_dependencies.cpp')
| -rw-r--r-- | toolsrc/src/tests_dependencies.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/toolsrc/src/tests_dependencies.cpp b/toolsrc/src/tests_dependencies.cpp index 26cc1e22c..6a6981d73 100644 --- a/toolsrc/src/tests_dependencies.cpp +++ b/toolsrc/src/tests_dependencies.cpp @@ -8,6 +8,7 @@ using namespace Microsoft::VisualStudio::CppUnitTestFramework; using namespace vcpkg; +using Parse::parse_comma_list; namespace UnitTest1 { @@ -41,7 +42,15 @@ namespace UnitTest1 TEST_METHOD(parse_supports_all) { auto v = Supports::parse({ - "x64", "x86", "arm", "windows", "uwp", "v140", "v141", "crt-static", "crt-dynamic", + "x64", + "x86", + "arm", + "windows", + "uwp", + "v140", + "v141", + "crt-static", + "crt-dynamic", }); Assert::AreNotEqual(uintptr_t(0), uintptr_t(v.get())); @@ -74,7 +83,9 @@ namespace UnitTest1 TEST_METHOD(parse_supports_some) { auto v = Supports::parse({ - "x64", "x86", "windows", + "x64", + "x86", + "windows", }); Assert::AreNotEqual(uintptr_t(0), uintptr_t(v.get())); |
