29 lines
629 B
Plaintext
29 lines
629 B
Plaintext
--TEST--
|
|
Suggestions are displayed
|
|
--COMPOSER--
|
|
{
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{ "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" } }
|
|
]
|
|
}
|
|
],
|
|
"require": {
|
|
"a/a": "1.0.0"
|
|
}
|
|
}
|
|
--RUN--
|
|
install
|
|
--EXPECT-OUTPUT--
|
|
Loading composer repositories with package information
|
|
Updating dependencies (including require-dev)
|
|
Package operations: 1 install, 0 updates, 0 removals
|
|
a/a suggests installing b/b (an obscure reason)
|
|
Writing lock file
|
|
Generating autoload files
|
|
|
|
--EXPECT--
|
|
Installing a/a (1.0.0)
|