From 7c7aba6e5fef47a01a136be655b0a92cfd7090f6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 16 Jun 2017 21:03:24 +0000 Subject: Vendor import of llvm trunk r305575: https://llvm.org/svn/llvm-project/llvm/trunk@305575 --- unittests/ADT/StringRefTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'unittests/ADT/StringRefTest.cpp') diff --git a/unittests/ADT/StringRefTest.cpp b/unittests/ADT/StringRefTest.cpp index e308f2d7c64b..0684afe678f6 100644 --- a/unittests/ADT/StringRefTest.cpp +++ b/unittests/ADT/StringRefTest.cpp @@ -882,8 +882,9 @@ TEST(StringRefTest, getAsDouble) { double Result; StringRef S(Entry.Str); EXPECT_EQ(Entry.ShouldFail, S.getAsDouble(Result, Entry.AllowInexact)); - if (!Entry.ShouldFail) + if (!Entry.ShouldFail) { EXPECT_EQ(Result, Entry.D); + } } } -- cgit v1.3