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)
132
132
VERIFY_IS_FALSE (stream.is_open ());
133
133
}
134
134
135
- TEST (OpenForReadDoesntCreateFile1, " Ignore:Linux " , " TFS#616619 " )
135
+ TEST (OpenForReadDoesntCreateFile1)
136
136
{
137
137
utility::string_t fname = U (" OpenForReadDoesntCreateFile1.txt" );
138
138
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 );
140
140
141
141
std::ifstream is;
142
142
VERIFY_IS_NULL (is.rdbuf ()->open (fname.c_str (), std::ios::in));
143
143
}
144
144
145
- TEST (OpenForReadDoesntCreateFile2, " Ignore:Linux " , " TFS#616619 " )
145
+ TEST (OpenForReadDoesntCreateFile2)
146
146
{
147
147
utility::string_t fname = U (" OpenForReadDoesntCreateFile2.txt" );
148
148
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 );
150
150
151
151
std::ifstream is;
152
152
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