[libcxx] r267654 - Fix = that should have been == in test. Thanks to STL at microsoft for the catch
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 26 18:46:43 PDT 2016
Author: marshall
Date: Tue Apr 26 20:46:43 2016
New Revision: 267654
URL: http://llvm.org/viewvc/llvm-project?rev=267654&view=rev
Log:
Fix = that should have been == in test. Thanks to STL at microsoft for the catch
Modified:
libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp
Modified: libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp?rev=267654&r1=267653&r2=267654&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/compare.pass.cpp Tue Apr 26 20:46:43 2016
@@ -44,7 +44,7 @@ int main()
MapT map;
IterBool result = map.insert(std::make_pair(Key(0), 42));
assert(result.second);
- assert(result.first->second = 42);
+ assert(result.first->second == 42);
IterBool result2 = map.insert(std::make_pair(Key(0), 43));
assert(!result2.second);
assert(map[Key(0)] == 42);
More information about the cfe-commits
mailing list