summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/tests/tokenizecmd_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bx/tests/tokenizecmd_test.cpp')
-rw-r--r--3rdparty/bx/tests/tokenizecmd_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/3rdparty/bx/tests/tokenizecmd_test.cpp b/3rdparty/bx/tests/tokenizecmd_test.cpp
index 12502502a1a..7d35ac7484c 100644
--- a/3rdparty/bx/tests/tokenizecmd_test.cpp
+++ b/3rdparty/bx/tests/tokenizecmd_test.cpp
@@ -4,7 +4,6 @@
*/
#include "test.h"
-#include <bx/tokenizecmd.h>
#include <bx/commandline.h>
#include <string.h>
@@ -14,6 +13,8 @@ TEST(commandLine)
{
"-s",
"--long",
+ "--platform",
+ "x",
};
bx::CommandLine cmdLine(BX_COUNTOF(args), args);
@@ -23,6 +24,7 @@ TEST(commandLine)
// non-existing argument
CHECK(!cmdLine.hasArg('x') );
+ CHECK(!cmdLine.hasArg("preprocess") );
}
TEST(tokenizeCommandLine)