diff --git a/test/testoptions.cpp b/test/testoptions.cpp index 35b76bdbd..3532f36ec 100644 --- a/test/testoptions.cpp +++ b/test/testoptions.cpp @@ -55,7 +55,7 @@ private: void no_test_method() const { - const char* argv[] = {"./test_runner"}; + const char* argv[] = {"./test_runner", ""}; options args(sizeof argv / sizeof argv[0], argv); ASSERT_EQUALS("", args.which_test()); }