forked from OSchip/llvm-project
SmallString doesn't have implicit conversion from const char*.
llvm-svn: 298019
This commit is contained in:
parent
8fb09e3ea7
commit
3735006063
|
@ -1064,8 +1064,8 @@ TEST(Support, NormalizePath) {
|
|||
Tests.emplace_back("a\\", "a\\", "a/");
|
||||
|
||||
for (auto &T : Tests) {
|
||||
SmallString<64> Win = std::get<0>(T);
|
||||
SmallString<64> Posix = Win;
|
||||
SmallString<64> Win(std::get<0>(T));
|
||||
SmallString<64> Posix(Win);
|
||||
path::native(Win, path::Style::windows);
|
||||
path::native(Posix, path::Style::posix);
|
||||
EXPECT_EQ(std::get<1>(T), Win);
|
||||
|
|
Loading…
Reference in New Issue