Skip to content

Commit 79a98a3

Browse files
Ben HillisCopilot
andcommitted
Also verify stderr matches between wslc and wslc.exe
Address PR feedback: assert that stderr output is identical between the shell script and direct .exe invocation, fixing unused variable warnings that would fail MSVC /WX builds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4054a5c commit 79a98a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/windows/SimpleTests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ class SimpleTests
302302
auto [exeOutput, exeErr] = LxsstuLaunchWslAndCaptureOutput(L"wslc.exe version");
303303
auto [scriptOutput, scriptErr] = LxsstuLaunchWslAndCaptureOutput(L"wslc version");
304304
VERIFY_ARE_EQUAL(exeOutput, scriptOutput);
305+
VERIFY_ARE_EQUAL(exeErr, scriptErr);
305306
}
306307
};
307308
} // namespace SimpleTests

0 commit comments

Comments
 (0)