]> granicus.if.org Git - clang/commitdiff
Update test case... the location given for this error makes it look
authorDaniel Dunbar <daniel@zuster.org>
Mon, 4 May 2009 15:18:44 +0000 (15:18 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 4 May 2009 15:18:44 +0000 (15:18 +0000)
rather odd when truncated.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70866 91177308-0d34-0410-b5e6-96231b3b80d8

test/Misc/message-length.c

index d659acc39d736aa6a65e223608fb144940037ea8..d64b1bfc58a317e5ed9a06c0bca8d30b4ac0d933 100644 (file)
@@ -2,8 +2,8 @@
 
 // RUN: grep -A4 "FILE:23" %t > %t.msg &&
 // FIXME: This diagnostic is getting truncated very poorly.
-// RUN: grep -e '^  ... ' %t.msg &&
-// RUN: grep -e '^     \^' %t.msg &&
+// RUN: grep -e '^  ...// some long comment text and a brace, eh {} ' %t.msg &&
+// RUN: grep -e '^                                                 \^' %t.msg &&
 
 // RUN: true