File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Release/tests/Functional/streams Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,21 +132,21 @@ TEST(OpenCloseTest1)
132132 VERIFY_IS_FALSE (stream.is_open ());
133133}
134134
135- TEST (OpenForReadDoesntCreateFile1, " Ignore:Linux " , " TFS#616619 " )
135+ TEST (OpenForReadDoesntCreateFile1)
136136{
137137 utility::string_t fname = U (" OpenForReadDoesntCreateFile1.txt" );
138138
139- VERIFY_THROWS_SYSTEM_ERROR (OPEN_R<char >(fname).get (), std::errc::no_such_file_or_directory );
139+ VERIFY_THROWS (OPEN_R<char >(fname).get (), std::system_error );
140140
141141 std::ifstream is;
142142 VERIFY_IS_NULL (is.rdbuf ()->open (fname.c_str (), std::ios::in));
143143}
144144
145- TEST (OpenForReadDoesntCreateFile2, " Ignore:Linux " , " TFS#616619 " )
145+ TEST (OpenForReadDoesntCreateFile2)
146146{
147147 utility::string_t fname = U (" OpenForReadDoesntCreateFile2.txt" );
148148
149- VERIFY_THROWS_SYSTEM_ERROR (OPEN<char >(fname, std::ios_base::in | std::ios_base::binary ).get (), std::errc::no_such_file_or_directory );
149+ VERIFY_THROWS (OPEN<char >(fname, std::ios_base::in | std::ios_base::binary ).get (), std::system_error );
150150
151151 std::ifstream is;
152152 VERIFY_IS_NULL (is.rdbuf ()->open (fname.c_str (), std::ios::in | std::ios_base::binary));
You can’t perform that action at this time.
0 commit comments