Fix an 'if windows' test to cover Win64 too
authorIan Lynagh <igloo@earth.li>
Sat, 26 Jan 2013 14:05:14 +0000 (14:05 +0000)
committerIan Lynagh <ian@well-typed.com>
Sat, 26 Jan 2013 14:52:45 +0000 (14:52 +0000)
tests/IO/all.T

index 4c70c38..18b3b14 100644 (file)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 
 def expect_fail_if_windows(opts):
-   f = if_platform('i386-unknown-mingw32', expect_fail);
+   f = if_os('mingw32', expect_fail);
    return f(opts);
 
 test('IOError001', compose(omit_ways(['ghci']), set_stdin('IOError001.hs')),