Skip to content

Conversation

noinia
Copy link

@noinia noinia commented Feb 2, 2023

Fixes #1796.

@purcell
Copy link
Member

purcell commented Mar 21, 2023

Tests now fail with what looks like a legitimate mismatch — worth taking a look and/or adding new tests to reflect the correct behaviour.

@purcell
Copy link
Member

purcell commented Feb 5, 2025

Closing and re-opening to re-trigger CI and get a fresh picture of how this looks.

@purcell purcell closed this Feb 5, 2025
@purcell purcell reopened this Feb 5, 2025
@purcell
Copy link
Member

purcell commented Feb 5, 2025

Test haskell-cabal-enum-targets-1 condition:
    (ert-test-failed
     ((should
       (equal
	'("lib:Test" "test:test-1" "bench:bench-1" "exe:bin-1")
	(haskell-cabal-enum-targets)))
      :form
      (equal
       ("lib:Test" "test:test-1" "bench:bench-1" "exe:bin-1")
       ("Test:Test" "test:test-1" "bench:bench-1" "exe:bin-1"))
      :value nil :explanation
      (list-elt 0
		(arrays-of-different-length 8 9 "lib:Test" "Test:Test" first-mismatch-at 0))))
   FAILED   62/540  haskell-cabal-enum-targets-1 (0.000657 sec) at tests/haskell-cabal-tests.el:16

Is this correct? Should the expected list of targets now be changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

haskell-session-change-target unusable in cabal package with multiple library stanzas
2 participants