tests/cli/semver-check-bump-version-add-function.wat
raw| 1 | ;; RUN: component semver-check % --prev prev --new new |
| 2 | |
| 3 | (component |
| 4 | (type $prev (component |
| 5 | (export "a:b/prev" (component |
| 6 | (import "a:a/[email protected]" (instance |
| 7 | (export "f" (func)) |
| 8 | )) |
| 9 | )) |
| 10 | )) |
| 11 | (export "prev" (type $prev)) |
| 12 | |
| 13 | (type $new (component |
| 14 | (export "a:b/new" (component |
| 15 | (import "a:a/[email protected]" (instance |
| 16 | (export "f" (func)) |
| 17 | (export "f2" (func)) |
| 18 | )) |
| 19 | )) |
| 20 | )) |
| 21 | (export "new" (type $new)) |
| 22 | ) |
| 23 |