mirror of
https://github.com/boostorg/filesystem.git
synced 2025-05-12 13:41:47 +00:00
Added test case for case of no directory
[SVN r33041]
This commit is contained in:
parent
c949152405
commit
7bd0367847
@ -69,6 +69,11 @@ namespace
|
||||
fs::ifstream tfs( p );
|
||||
BOOST_CHECK( tfs.is_open() );
|
||||
}
|
||||
{
|
||||
std::cout << " in test 4.1\n";
|
||||
fs::ifstream tfs( p / p.leaf() ); // should fail
|
||||
BOOST_CHECK( !tfs.is_open() );
|
||||
}
|
||||
{
|
||||
std::cout << " in test 5\n";
|
||||
fs::ifstream tfs( p, std::ios_base::in );
|
||||
|
Loading…
x
Reference in New Issue
Block a user