diff options
Diffstat (limited to 'testsuite/tests/safeHaskell')
6 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags22.hs b/testsuite/tests/safeHaskell/flags/SafeFlags22.hs index 0b94cff91c..3d5d8dc1af 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags22.hs +++ b/testsuite/tests/safeHaskell/flags/SafeFlags22.hs @@ -1,6 +1,6 @@ {-# OPTIONS_GHC -fwarn-unsafe #-} -- | Basic test to see if Safe warning flags compile --- Warn if module is infered unsafe +-- Warn if module is inferred unsafe -- In this test the warning _should_ fire module SafeFlags22 where diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags23.hs b/testsuite/tests/safeHaskell/flags/SafeFlags23.hs index 87f7b2dc5d..b3180bc1e1 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags23.hs +++ b/testsuite/tests/safeHaskell/flags/SafeFlags23.hs @@ -1,6 +1,6 @@ {-# OPTIONS_GHC -fwarn-unsafe -Werror #-} -- | Basic test to see if Safe warning flags compile --- Warn if module is infered unsafe +-- Warn if module is inferred unsafe -- In this test the warning _should_ fire and cause a compile fail module SafeFlags22 where diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags24.hs b/testsuite/tests/safeHaskell/flags/SafeFlags24.hs index 928d322e3c..ab63880f80 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags24.hs +++ b/testsuite/tests/safeHaskell/flags/SafeFlags24.hs @@ -1,6 +1,6 @@ {-# OPTIONS_GHC -fwarn-safe #-} -- | Basic test to see if Safe warning flags compile --- Warn if module is infered safe +-- Warn if module is inferred safe -- In this test the warning _shouldn't_ fire module SafeFlags23 where diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags25.hs b/testsuite/tests/safeHaskell/flags/SafeFlags25.hs index c97fa885d1..7d650d6a72 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags25.hs +++ b/testsuite/tests/safeHaskell/flags/SafeFlags25.hs @@ -1,6 +1,6 @@ {-# OPTIONS_GHC -fwarn-safe #-} -- | Basic test to see if Safe warning flags compile --- Warn if module is infered safe +-- Warn if module is inferred safe -- In this test the warning _should_ fire module SafeFlags25 where diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags26.hs b/testsuite/tests/safeHaskell/flags/SafeFlags26.hs index 0767448bca..45b65f3d9e 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags26.hs +++ b/testsuite/tests/safeHaskell/flags/SafeFlags26.hs @@ -1,6 +1,6 @@ {-# OPTIONS_GHC -fwarn-safe -Werror #-} -- | Basic test to see if Safe warning flags compile --- Warn if module is infered safe +-- Warn if module is inferred safe -- In this test the warning _should_ fire and cause a compile fail module SafeFlags26 where diff --git a/testsuite/tests/safeHaskell/safeInfered/all.T b/testsuite/tests/safeHaskell/safeInfered/all.T index be38d8ff12..e9b03b5458 100644 --- a/testsuite/tests/safeHaskell/safeInfered/all.T +++ b/testsuite/tests/safeHaskell/safeInfered/all.T @@ -7,14 +7,14 @@ def f( name, opts ): setTestOpts(f) -# Tests that should compile fine as they should be infered safe +# Tests that should compile fine as they should be inferred safe test('SafeInfered01', [], multimod_compile, ['SafeInfered01', '']) test('SafeInfered02', [], multimod_compile, ['SafeInfered02', '']) test('SafeInfered03', [], multimod_compile, ['SafeInfered03', '']) test('SafeInfered04', [], multimod_compile, ['SafeInfered04', '']) test('SafeInfered05', [], multimod_compile, ['SafeInfered05', '']) -# Tests that should fail to compile as they should be infered unsafe +# Tests that should fail to compile as they should be inferred unsafe test('UnsafeInfered01', [], multimod_compile_fail, ['UnsafeInfered01', '']) test('UnsafeInfered02', [], multimod_compile_fail, ['UnsafeInfered02', '']) test('UnsafeInfered03', [], multimod_compile_fail, ['UnsafeInfered03', '']) |