Skip to content

Commit 2f5e778

Browse files
committed
test: dedupe test package name
This package name is used in a different test already ### Changes are visible to end-users: no ### Test plan - Covered by existing test cases
1 parent 12a0f43 commit 2f5e778

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE4Nzc1MDcwNjU=

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ js/private/test/js_run_devserver/package.json=-459994543
2828
js/private/test/node-patches/package.json=-2062409266
2929
js/private/worker/src/package.json=49905594
3030
npm/private/test/npm_package/package.json=-1991705133
31-
npm/private/test/npm_package_publish/package.json=-646566766
31+
npm/private/test/npm_package_publish/package.json=1501316979
3232
npm/private/test/package.json=1575868543
3333
npm/private/test/vendored/is-odd/package.json=1041695223
3434
npm/private/test/vendored/lodash-4.17.21.tgz=-1206623349
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"name": "@mycorp/pkg-b",
2+
"name": "@mycorp/pkg-to-publish",
33
"private": true
44
}

npm/private/test/npm_package_publish/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ readonly PUBLISH_B="$2"
77
# to ensure package directory is properly passed and npm can read it.
88
$PUBLISH_A 2>pub_a.log
99

10-
cat pub_a.log | grep 'npm notice package: @mycorp/pkg-b@'
10+
cat pub_a.log | grep 'npm notice package: @mycorp/pkg-to-publish@'
1111

1212
# shellcheck disable=SC2181
1313
if [ $? != 0 ]; then
14-
echo "FAIL: expected 'npm notice package: @mycorp/pkg-b@' error, GOT: $(cat pub_a.log)"
14+
echo "FAIL: expected 'npm notice package: @mycorp/pkg-to-publish@' error, GOT: $(cat pub_a.log)"
1515
exit 1
1616
fi
1717

0 commit comments

Comments
 (0)