diff --git a/test/Interop/Cxx/stdlib/Inputs/module.modulemap b/test/Interop/Cxx/stdlib/Inputs/module.modulemap index fdd243c2f0281..ada070f360add 100644 --- a/test/Interop/Cxx/stdlib/Inputs/module.modulemap +++ b/test/Interop/Cxx/stdlib/Inputs/module.modulemap @@ -3,11 +3,6 @@ module StdVector { requires cplusplus } -module StdString { - header "std-string.h" - requires cplusplus -} - module StdMap { header "std-map.h" requires cplusplus diff --git a/test/Interop/Cxx/stdlib/Inputs/std-string.h b/test/Interop/Cxx/stdlib/Inputs/std-string.h deleted file mode 100644 index 730aaa5cc3e4d..0000000000000 --- a/test/Interop/Cxx/stdlib/Inputs/std-string.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef TEST_INTEROP_CXX_STDLIB_INPUTS_STD_STRING_H -#define TEST_INTEROP_CXX_STDLIB_INPUTS_STD_STRING_H - -#include - -using CxxString = std::string; - -#endif // TEST_INTEROP_CXX_STDLIB_INPUTS_STD_STRING_H \ No newline at end of file diff --git a/test/Interop/Cxx/stdlib/use-std-string.swift b/test/Interop/Cxx/stdlib/use-std-string.swift index 1222b22aaa2a9..5ecdad53fab8e 100644 --- a/test/Interop/Cxx/stdlib/use-std-string.swift +++ b/test/Interop/Cxx/stdlib/use-std-string.swift @@ -3,19 +3,18 @@ // REQUIRES: executable_test import StdlibUnittest -import StdString import CxxStdlib var StdStringTestSuite = TestSuite("StdString") StdStringTestSuite.test("init") { - let s = CxxString() + let s = std.string() expectEqual(s.size(), 0) expectTrue(s.empty()) } StdStringTestSuite.test("push back") { - var s = CxxString() + var s = std.string() s.push_back(42) expectEqual(s.size(), 1) expectFalse(s.empty())