summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2020-09-09 14:19:53 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-14 03:35:07 -0500
commit74fec146d2dcf05921d58dc81fd5481f9de6d6e9 (patch)
tree72237da614f773c47900fc327480da5a44e49410 /testsuite
parent544329c872cbe8707ebd12def1cfb10f4692f439 (diff)
downloadhaskell-74fec146d2dcf05921d58dc81fd5481f9de6d6e9.tar.gz
Introduce keepAlive primop
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/ghci/should_run/T16012.script2
-rw-r--r--testsuite/tests/ghci/should_run/T16012.stdout2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghci/should_run/T16012.script b/testsuite/tests/ghci/should_run/T16012.script
index ab8b2d0ee0..2394e9c0ec 100644
--- a/testsuite/tests/ghci/should_run/T16012.script
+++ b/testsuite/tests/ghci/should_run/T16012.script
@@ -3,4 +3,4 @@
-- should always return a reasonably low result.
n <- System.Mem.getAllocationCounter
-if (n < 0 && n >= -160000) then putStrLn "Alloction counter in expected range" else (putStrLn $ "Unexpected allocation counter result:" ++ show n)
+if (n < 0 && n >= -200000) then putStrLn "Allocation counter in expected range" else (putStrLn $ "Unexpected allocation counter result:" ++ show n)
diff --git a/testsuite/tests/ghci/should_run/T16012.stdout b/testsuite/tests/ghci/should_run/T16012.stdout
index 2eb23fdb4c..0951b0f82b 100644
--- a/testsuite/tests/ghci/should_run/T16012.stdout
+++ b/testsuite/tests/ghci/should_run/T16012.stdout
@@ -1 +1 @@
-Alloction counter in expected range
+Allocation counter in expected range