Check that we retrieve the same numbers of files in wxFTP test
GetFilesList() and GetDirList() should return the same number of lines, normally, so check for this.
This commit is contained in:
parent
5e3c2fb1c6
commit
a2e3dd563e
1 changed files with 5 additions and 1 deletions
|
|
@ -73,7 +73,11 @@ TEST_CASE("FTP", "[net][.]")
|
|||
// test NLIST and LIST
|
||||
wxArrayString files;
|
||||
CHECK( ftp.GetFilesList(files) );
|
||||
CHECK( ftp.GetDirList(files) );
|
||||
|
||||
wxArrayString dirs;
|
||||
CHECK( ftp.GetDirList(dirs) );
|
||||
|
||||
CHECK( files.size() == dirs.size() );
|
||||
}
|
||||
|
||||
SECTION("Download")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue