tests/cli/semver-check-multiple-packages.wit
raw| 1 | // RUN: component semver-check % --prev a:b/prev --new a:b/next |
| 2 | |
| 3 | package foo:root; |
| 4 | package a:b { |
| 5 | world prev {} |
| 6 | |
| 7 | interface next-interface { |
| 8 | |
| 9 | } |
| 10 | |
| 11 | world next { |
| 12 | import a: func(); |
| 13 | import b: interface {} |
| 14 | import next-interface; |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | package c:d { |
| 19 | world old {} |
| 20 | |
| 21 | world new { |
| 22 | import a: func(); |
| 23 | } |
| 24 | } |