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:
parent
1b91b3a2a5
commit
e0ae9f5248
3 changed files with 37 additions and 33 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue