[Git][ghc/ghc][wip/ghc-debug] Fix prof_info test

Sven Tennie gitlab at gitlab.haskell.org
Mon Aug 10 05:24:50 UTC 2020



Sven Tennie pushed to branch wip/ghc-debug at Glasgow Haskell Compiler / GHC


Commits:
9d8fc068 by Sven Tennie at 2020-08-10T07:24:26+02:00
Fix prof_info test

Line number of self defined cost centre changed.

- - - - -


1 changed file:

- libraries/ghc-heap/tests/prof_info.hs


Changes:

=====================================
libraries/ghc-heap/tests/prof_info.hs
=====================================
@@ -38,7 +38,7 @@ main = do
                         assertEqual (cc_ccID myCostCentre) 1
                         assertEqual (cc_label myCostCentre) "MyCostCentre"
                         assertEqual (cc_module myCostCentre) "Main"
-                        assertEqual (cc_srcloc myCostCentre) (Just "prof_info.hs:26:39-50")
+                        assertEqual (cc_srcloc myCostCentre) (Just "prof_info.hs:21:39-50")
                         assertEqual (cc_mem_alloc myCostCentre) 0
                         assertEqual (cc_time_ticks myCostCentre) 0
                         assertEqual (cc_is_caf myCostCentre) False



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9d8fc06849738ce5d581a29356117d5148aed16b

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9d8fc06849738ce5d581a29356117d5148aed16b
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200810/08d65dcc/attachment.html>


More information about the ghc-commits mailing list