| @@ -951,12 +951,13 @@ t.test('first arg is a valid semver range', t => { |
|
|
| 951 |
951 |
|
| 952 |
952 |
t.test('first arg is an unknown dependency name', t => { |
| 953 |
953 |
t.test('second arg is a qualified spec', t => { |
| 954 |
|
-t.plan(3) |
|
954 |
+t.plan(4) |
| 955 |
955 |
|
| 956 |
956 |
libnpmdiff = async ([a, b], opts) => { |
| 957 |
957 |
t.equal(a, 'bar@latest', 'should set expected first spec') |
| 958 |
958 |
t.equal(b, 'bar@2.0.0', 'should set expected second spec') |
| 959 |
959 |
t.match(opts, npm.flatOptions, 'should forward flat options') |
|
960 |
+t.match(opts, { where: '.' }, 'should forward pacote options') |
| 960 |
961 |
} |
| 961 |
962 |
|
| 962 |
963 |
npm.flatOptions.diff = ['bar', 'bar@2.0.0'] |