[Remarks] Use StringRef::contains to avoid differences in error string
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 16 Oct 2019 16:18:12 +0000 (16:18 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 16 Oct 2019 16:18:12 +0000 (16:18 +0000)
commit0216a3c6d1c12357767b52a66151781cc2e1c5cd
tree089f1f50787a2c8392e64263961d9e83825c403a
parentb6dd1286217711a40a3d8f20366a5fdad6b8c7db
[Remarks] Use StringRef::contains to avoid differences in error string

Different OSs have different error strings:

http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/39534/steps/ninja%20check%201/logs/FAIL%3A%20LLVM-Unit%3A%3AYAMLRemarks.ParsingBadMeta

llvm-svn: 375011
llvm/unittests/Remarks/YAMLRemarksParsingTest.cpp