fix the expect_fail_if_windows macro
authorSimon Marlow <simonmar@microsoft.com>
Tue, 4 Apr 2006 14:46:11 +0000 (14:46 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 4 Apr 2006 14:46:11 +0000 (14:46 +0000)
testsuite/tests/ghc-regress/lib/IO/all.T

index 3677ae7..9cce6e3 100644 (file)
@@ -1,6 +1,7 @@
 
-def expect_fail_if_windows( opts ):
-   return expect_fail_if_platform("i386-unknown-mingw32");
+def expect_fail_if_windows(opts):
+   f = expect_fail_if_platform('i386-unknown-mingw32');
+   return f(opts);
 
 test('IOError001', compose(omit_ways(['ghci']), set_stdin('IOError001.hs')),
        compile_and_run, [''])