Require transformers for T5979
authorJoachim Breitner <mail@joachim-breitner.de>
Sat, 10 May 2014 09:38:49 +0000 (11:38 +0200)
committerJoachim Breitner <mail@joachim-breitner.de>
Sat, 10 May 2014 09:38:55 +0000 (11:38 +0200)
in order to get a reliable error message
(although the error message could be improved anyways to mention the
explicit package the module is imported with.)

testsuite/tests/ghci/scripts/all.T

index aacdd26..5918e13 100755 (executable)
@@ -113,7 +113,7 @@ test('T5564', normal, ghci_script, ['T5564.script'])
 test('Defer02', normal, ghci_script, ['Defer02.script'])
 test('T5820', normal, ghci_script, ['T5820.script'])
 test('T5836', normal, ghci_script, ['T5836.script'])
-test('T5979', normalise_slashes, ghci_script, ['T5979.script'])
+test('T5979', [reqlib('transformers'), normalise_slashes], ghci_script, ['T5979.script'])
 test('T5975a',
      [pre_cmd('touch föøbàr1.hs'),
       clean_cmd('rm föøbàr1.hs')],