Skip to content

Commit 223f602

Browse files
committed
test: different package names in ver_clash
1 parent dd16053 commit 223f602

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pkg/ver_clash/test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,9 @@ test_run build
7777
# Test build fails on v2
7878
git switch v2 --detach
7979
test_err 'Unknown identifier `poorly_named_lemma`' build
80+
81+
# Test build with different package names
82+
sed_i '/name/ s/A/A-v1/' .lake/packages/DiamondExample-B/lakefile.toml
83+
sed_i '/name/ s/A/A-v2/' .lake/packages/DiamondExample-C/lakefile.toml
84+
test_run update
85+
test_err 'could not disambiguate the module `DiamondExampleA.Ring.Lemmas`' build

0 commit comments

Comments
 (0)