diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-13 20:21:03 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-15 23:34:25 -0400 |
commit | 57b718481d5363ab33df4c7814f74897418f79d7 (patch) | |
tree | 331ed2714167b2ea5722b0387d51e957329f40e1 /libraries | |
parent | ca721193fc71c065036deecfb9d4274fbfc6850d (diff) | |
download | haskell-57b718481d5363ab33df4c7814f74897418f79d7.tar.gz |
testsuite: Add assertions that way lists are in fact lists
Previously there were a few cases where operations like `omit_ways`
were incorrectly passed a single way (e.g. `omit_ways('threaded2')`).
This won't work as the author expected.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/base/tests/Numeric/all.T | 2 | ||||
-rw-r--r-- | libraries/base/tests/all.T | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/tests/Numeric/all.T b/libraries/base/tests/Numeric/all.T index 9969a5552a..74d4c06514 100644 --- a/libraries/base/tests/Numeric/all.T +++ b/libraries/base/tests/Numeric/all.T @@ -13,7 +13,7 @@ test('num009', [ when(fast(), skip) , when(platform('powerpc64le-unknown-linux'), expect_broken(13634))], compile_and_run, [opts]) test('num010', - when(platform('i386-apple-darwin'), expect_broken_for(7043, 'ghci')), + when(platform('i386-apple-darwin'), expect_broken_for(7043, ['ghci'])), compile_and_run, ['']) test('sqrt', normal, compile_and_run, ['']) diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T index 0fd97610d0..3345f76a9d 100644 --- a/libraries/base/tests/all.T +++ b/libraries/base/tests/all.T @@ -249,5 +249,5 @@ test('T14425', normal, compile_and_run, ['']) test('T10412', normal, compile_and_run, ['']) test('T13896', normal, compile_and_run, ['']) test('T13167', fragile_for(16536, ['threaded2']), compile_and_run, ['']) -test('T15349', [exit_code(1), expect_broken_for(15349, 'ghci')], compile_and_run, ['']) +test('T15349', [exit_code(1), expect_broken_for(15349, ['ghci'])], compile_and_run, ['']) test('T16111', exit_code(1), compile_and_run, ['']) |