From 7298149af41b7f102904411d06db91436ecd6a85 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Fri, 17 Sep 2021 06:07:37 +0300 Subject: [PATCH] Update test_cfg.cpp --- tests/test_cfg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_cfg.cpp b/tests/test_cfg.cpp index fdc98f54..8bd11952 100644 --- a/tests/test_cfg.cpp +++ b/tests/test_cfg.cpp @@ -91,7 +91,8 @@ TEST_CASE("argv10", "[cfg]") TEST_CASE("argv11", "[cfg]") { - auto levels = load_argv_levels(0, nullptr); + const char *argv[] = {"ignore", "junk", "SPDLOG_LEVEL=info"}; + auto levels = load_argv_levels(0, argv); REQUIRE(levels.empty()); }