Clean up tests/stdlib

2 tests still fail:
- tircbot would need a benign pragma because of the locks
- tgetfileinfo uses os.getFileInfo() on nil, which segfaults instead of
  throwing an exception as the tester expects
This commit is contained in:
def 2015-02-04 20:22:58 +01:00
commit e0ae9f5248
3 changed files with 37 additions and 33 deletions

View file

@ -4,7 +4,7 @@ import dialogs, gtk2
gtk2.nimrod_init()
var x = ChooseFilesToOpen(nil)
var x = chooseFilesToOpen(nil)
for a in items(x):
writeln(stdout, a)
@ -12,6 +12,6 @@ info(nil, "start with an info box")
warning(nil, "now a warning ...")
error(nil, "... and an error!")
writeln(stdout, ChooseFileToOpen(nil))
writeln(stdout, ChooseFileToSave(nil))
writeln(stdout, ChooseDir(nil))
writeln(stdout, chooseFileToOpen(nil))
writeln(stdout, chooseFileToSave(nil))
writeln(stdout, chooseDir(nil))