Skip to content

Commit 5527e9c

Browse files
committed
test: testClang_stdCxx default is C++26
1 parent d7ad1ce commit 5527e9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/lib/MrDocsCompilationDatabase.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ struct MrDocsCompilationDatabase_test {
9393

9494
{
9595
auto adjusted = adjustCompileCommand({ programName });
96-
BOOST_TEST(has(adjusted, "-std=c++23"));
96+
BOOST_TEST(has(adjusted, "-std=c++26"));
9797
}
9898
{
9999
auto adjusted = adjustCompileCommand({ programName, "-std=c++11" });
@@ -217,7 +217,7 @@ struct MrDocsCompilationDatabase_test {
217217

218218
{
219219
auto adjusted = adjustCompileCommand({ programName });
220-
BOOST_TEST(has(adjusted, "-std:c++23preview"));
220+
BOOST_TEST(has(adjusted, "-std:c++latest"));
221221
}
222222
{
223223
auto adjusted = adjustCompileCommand({ programName, "-std:c++11" });
@@ -238,7 +238,7 @@ struct MrDocsCompilationDatabase_test {
238238

239239
{
240240
auto adjusted = adjustCompileCommand({ programName, "-x", "c" });
241-
BOOST_TEST(has(adjusted, "-std:c17"));
241+
BOOST_TEST(has(adjusted, "-std:clatest"));
242242
}
243243
{
244244
auto adjusted = adjustCompileCommand(

0 commit comments

Comments
 (0)