summary refs log tree commit diff
path: root/tests/hackage.scm
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-09-14 20:42:18 +0200
committerLars-Dominik Braun <lars@6xq.net>2021-09-15 14:28:38 +0200
commita840caccaee8c9492f4cc8a7ba802ef54391f199 (patch)
treeb3a42fe374848b58eb257e541d6b47544018bd61 /tests/hackage.scm
parent39b43d0d0428474a1d0bf58779d0135163b9c6e3 (diff)
downloadguix-a840caccaee8c9492f4cc8a7ba802ef54391f199.tar.gz
import: cabal: Treat identifier names correctly.
* guix/import/cabal.scm (is-id): Accept the location as an argument.  Don’t
check if the identifier name is a reserved keyword unless it is the first word
on the line.
(lex-word): Adjust accordingly.
* tests/hackage ("hackage->guix-package tests flag executable"): Expect it to
pass.

Fixes: <https://issues.guix.gnu.org/25138>
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
Diffstat (limited to 'tests/hackage.scm')
-rw-r--r--tests/hackage.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/hackage.scm b/tests/hackage.scm
index 53972fc643..aca807027c 100644
--- a/tests/hackage.scm
+++ b/tests/hackage.scm
@@ -318,8 +318,6 @@ executable cabal
     mtl        >= 2.0      && < 3
 ")
 
-;; Fails: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25138
-(test-expect-fail 1)
 (test-assert "hackage->guix-package test flag executable"
   (eval-test-with-cabal test-cabal-flag-executable match-ghc-foo))