mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Update LLVM libraries to 14.0.6 (#4350)
The main noticeable change is the SmallString conversion operator to std::string is now explicit instead of implicit.
This commit is contained in:
@@ -110,6 +110,13 @@ TEST_F(StringMapTest, ConstEmptyMapTest) {
|
||||
EXPECT_TRUE(constTestMap.find(testKeyStr) == constTestMap.end());
|
||||
}
|
||||
|
||||
// initializer_list ctor test; also implicitly tests initializer_list and
|
||||
// iterator overloads of insert().
|
||||
TEST_F(StringMapTest, InitializerListCtor) {
|
||||
testMap = StringMap<uint32_t>({{"key", 1}});
|
||||
assertSingleItemMap();
|
||||
}
|
||||
|
||||
// A map with a single entry.
|
||||
TEST_F(StringMapTest, SingleEntryMapTest) {
|
||||
testMap[testKey] = testValue;
|
||||
@@ -300,7 +307,7 @@ TEST_F(StringMapTest, InsertOrAssignTest) {
|
||||
EXPECT_EQ(0, try1.first->second.copy);
|
||||
}
|
||||
|
||||
TEST_F(StringMapTest, IterMapKeys) {
|
||||
TEST_F(StringMapTest, IterMapKeysSmallVector) {
|
||||
StringMap<int> Map;
|
||||
Map["A"] = 1;
|
||||
Map["B"] = 2;
|
||||
|
||||
Reference in New Issue
Block a user