Skip to content

Commit 831591b

Browse files
committed
[NFC][clang] Refine tests by adding : to checks
The tests can fail if wokring directory where the tests were launched has a `error` substring in its path. Reviewed By: benlangmuir Differential Revision: https://reviews.llvm.org/D144495
1 parent 2b462eb commit 831591b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

clang/test/Driver/unknown-std.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// RUN: %clang -std=c++11 %s -E -o /dev/null 2>&1 | FileCheck %s --allow-empty
2-
// CHECK-NOT: error
2+
// CHECK-NOT: error:

clang/test/Index/allow-editor-placeholders.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
<#placeholder#>;
44

5-
// CHECK-NOT: error
5+
// CHECK-NOT: error:

clang/test/VFS/real-path-found-first.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
// RUN: -ivfsoverlay %t.yaml -fsyntax-only -Rmodule-include-translation \
4040
// RUN: -Werror=non-modular-include-in-framework-module | FileCheck %s
4141
// CHECK: warning: treating
42-
// CHECK-NOT: error
42+
// CHECK-NOT: error:
4343

4444
// With a VFS-mapped module map file
4545
// RUN: mv %t/SomeFramework.framework/Modules/module.modulemap %t/hide_module.map

clang/test/VFS/vfsroot-include.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
#include "actual_header.h"
1414
// CHECK: fatal error: 'actual_header.h' file not found
1515
// CHECK: 1 error generated.
16-
// CHECK-NOT: error
16+
// CHECK-NOT: error:

0 commit comments

Comments
 (0)