Be lax about trailing whitespace when checking fixit formatting, this depends on locale settings.
If a non-unicode locale is used, the unicode character is escaped and any
byte that is in the escaped representation but not the semicolon will
become whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160113 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/FixIt/fixit-unicode.c b/test/FixIt/fixit-unicode.c
index 04d582e..d8e4592 100644
--- a/test/FixIt/fixit-unicode.c
+++ b/test/FixIt/fixit-unicode.c
@@ -10,6 +10,6 @@
(&foo)☃>bar = 42;
// CHECK: error: expected ';' after expression
// Make sure we emit the fixit right in front of the snowman.
-// CHECK: {{^ \^$}}
-// CHECK: {{^ ;$}}
+// CHECK: {{^ \^}}
+// CHECK: {{^ ;}}
}