Skip to content

Commit 9cf7580

Browse files
rjboukit-ty-kate
authored andcommitted
reftest: update upgrade switch from 2.0
1 parent ea00e59 commit 9cf7580

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/reftests/upgrade-two-point-o.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ synopsis: "switch with pinned compiler"
2424
### OPAMDEBUGSECTIONS=STATE opam upgrade --show-action --debug-level=-1
2525
STATE LOAD-SWITCH-STATE @ pinned-comp
2626
STATE Definition missing for installed package i-am-compiler.1, copying from repo
27-
STATE Inferred invariant: from base packages { i-am-compiler.1 }, (roots { i-am-compiler.1 }) => ["i-am-compiler"]
27+
STATE Inferred invariant: from base packages { i-am-compiler.1 }, (roots { i-am-compiler.1 }) => ["i-am-compiler" {= "1"}]
2828
STATE Switch state loaded in 0.000s
2929
STATE Detected changed packages (marked for reinstall): {}
3030
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
@@ -34,6 +34,6 @@ Nothing to do.
3434
Ok, i-am-compiler is no longer pinned locally (version 1)
3535
Nothing to do.
3636
### opam upgrade --show-action
37-
The following actions would be performed:
38-
=== upgrade 1 package
39-
- upgrade i-am-compiler 1 to 2
37+
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
38+
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
39+
Nothing to do.

0 commit comments

Comments
 (0)