Fix tests a bit more
This commit is contained in:
parent
573fa9b891
commit
69e2b61c0a
5 changed files with 13 additions and 13 deletions
|
|
@ -65,13 +65,13 @@ proc testGetFileInfo =
|
|||
try:
|
||||
discard getFileInfo(testFile)
|
||||
#echo("Handle : Valid File : Success")
|
||||
except EIO:
|
||||
except IOError:
|
||||
echo("Handle : Valid File : Failure")
|
||||
|
||||
try:
|
||||
discard getFileInfo(testHandle)
|
||||
#echo("Handle : Valid File : Success")
|
||||
except EIO:
|
||||
except IOError:
|
||||
echo("Handle : Valid File : Failure")
|
||||
|
||||
# Case 6 and 8
|
||||
|
|
@ -82,14 +82,14 @@ proc testGetFileInfo =
|
|||
try:
|
||||
discard getFileInfo(testFile)
|
||||
echo("Handle : Invalid File : Failure")
|
||||
except EIO, EOS:
|
||||
except IOError, OSError:
|
||||
discard
|
||||
#echo("Handle : Invalid File : Success")
|
||||
|
||||
try:
|
||||
discard getFileInfo(testHandle)
|
||||
echo("Handle : Invalid File : Failure")
|
||||
except EIO, EOS:
|
||||
except IOError, OSError:
|
||||
discard
|
||||
#echo("Handle : Invalid File : Success")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue