Print NOAUTOUPDATE when _not_ autoupdate (#5134)

Currently it prints the message for autoupdate tests
This commit is contained in:
Dana Jansens
2025-03-14 22:57:33 +00:00
committed by GitHub
parent 216c499cbf
commit 1374a41b08
+1 -1
View File
@@ -256,7 +256,7 @@ auto FileTestCase::TestBody() -> void {
llvm::errs() << "\nTo test this file alone, run:\n "
<< GetBazelCommand(BazelMode::Test, test_info_->test_name)
<< "\n\n";
if (test_file.autoupdate_line_number) {
if (!test_file.autoupdate_line_number) {
llvm::errs() << "\nThis test is NOAUTOUPDATE.\n\n";
}
}