summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKC Sivaramakrishnan <chandras@cs.purdue.edu>2013-09-27 19:20:25 -0400
committerKC Sivaramakrishnan <chandras@cs.purdue.edu>2013-09-27 19:20:25 -0400
commit774af686d3b3abf2a9efd600805aa7f0f5b52e30 (patch)
tree16b57e358008797ca373d6cf921a75f0fec22890
parent9b98c6de7da094d2c8e77f0fe6a6fb4e6bd15069 (diff)
downloadhaskell-774af686d3b3abf2a9efd600805aa7f0f5b52e30.tar.gz
Removes tabs
-rw-r--r--libraries/base/GHC/Exception.lhs4
-rw-r--r--libraries/base/tests/all.T34
2 files changed, 19 insertions, 19 deletions
diff --git a/libraries/base/GHC/Exception.lhs b/libraries/base/GHC/Exception.lhs
index 540df31da1..b0819d2917 100644
--- a/libraries/base/GHC/Exception.lhs
+++ b/libraries/base/GHC/Exception.lhs
@@ -194,8 +194,8 @@ data ArithException
deriving (Eq, Ord, Typeable)
divZeroException, overflowException, ratioZeroDenomException :: SomeException
-divZeroException = toException DivideByZero
-overflowException = toException Overflow
+divZeroException = toException DivideByZero
+overflowException = toException Overflow
ratioZeroDenomException = toException RatioZeroDenominator
instance Exception ArithException
diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T
index 37e3c13ee6..211f3e90b1 100644
--- a/libraries/base/tests/all.T
+++ b/libraries/base/tests/all.T
@@ -48,10 +48,10 @@ test('hGetBuf003', normal, compile_and_run, [''])
test('hPutBuf001', normal, compile_and_run, [''])
test('hPutBuf002', extra_clean(['hPutBuf002.out']), compile_and_run, [''])
-test('char001', normal, compile_and_run, [''])
-test('char002', normal, compile_and_run, [''])
+test('char001', normal, compile_and_run, [''])
+test('char002', normal, compile_and_run, [''])
-test('cstring001', normal, compile_and_run, [''])
+test('cstring001', normal, compile_and_run, [''])
test('length001',
# This fails without -O, as it relies on a RULE being applied
@@ -59,28 +59,28 @@ test('length001',
compile_and_run,
[''])
-test('ratio001', normal, compile_and_run, [''])
+test('ratio001', normal, compile_and_run, [''])
-test('rand001', reqlib('random'), compile_and_run, [''])
-test('reads001', normal, compile_and_run, [''])
-test('show001', normal, compile_and_run, [''])
-test('text001', normal, compile_and_run, [''])
+test('rand001', reqlib('random'), compile_and_run, [''])
+test('reads001', normal, compile_and_run, [''])
+test('show001', normal, compile_and_run, [''])
+test('text001', normal, compile_and_run, [''])
-test('tup001', normal, compile_and_run, [''])
+test('tup001', normal, compile_and_run, [''])
-test('addr001', normal, compile_and_run, [''])
+test('addr001', normal, compile_and_run, [''])
test('dynamic001', normal, compile_and_run, [''])
test('dynamic002', normal, compile_and_run, [''])
test('dynamic003', extra_run_opts('+RTS -K32m -RTS'), compile_and_run, [''])
test('dynamic004', omit_ways(['normal', 'threaded1', 'ghci']), compile_and_run, [''])
test('dynamic005', normal, compile_and_run, [''])
test('enum01', when(fast(), skip), compile_and_run, ['-cpp'])
-test('enum02', when(fast(), skip), compile_and_run, ['-cpp'])
-test('enum03', when(fast(), skip), compile_and_run, ['-cpp'])
-test('enum04', normal, compile_and_run, [''])
-test('exceptionsrun001', normal, compile_and_run, [''])
-test('exceptionsrun002', normal, compile_and_run, [''])
-test('list001' , when(fast(), skip), compile_and_run, [''])
+test('enum02', when(fast(), skip), compile_and_run, ['-cpp'])
+test('enum03', when(fast(), skip), compile_and_run, ['-cpp'])
+test('enum04', normal, compile_and_run, [''])
+test('exceptionsrun001', normal, compile_and_run, [''])
+test('exceptionsrun002', normal, compile_and_run, [''])
+test('list001' , when(fast(), skip), compile_and_run, [''])
test('list002', when(fast(), skip), compile_and_run, [''])
test('list003', when(fast(), skip), compile_and_run, [''])
@@ -93,7 +93,7 @@ test('memo001',
test('memo002',
[extra_run_opts('20'),
extra_clean(['Memo2.hi', 'Memo2.o'])],
- multimod_compile_and_run, ['memo002',''])
+ multimod_compile_and_run, ['memo002',''])
test('packedstring001', reqlib('packedstring'), compile_and_run, ['-package packedstring'])