diff options
author | 2023-10-05 15:59:02 -0700 | |
---|---|---|
committer | 2023-10-05 15:59:02 -0700 | |
commit | 7ef4cd26ac1e8c3527ff95621497dd77273b299b (patch) | |
tree | b3336822447b35e613ad672ae486e4a439e0870a /test/cli/install/bun-update.test.ts | |
parent | df1b0c4332ed1ef8de57b5bdcaa4dbe8b1450847 (diff) | |
download | bun-7ef4cd26ac1e8c3527ff95621497dd77273b299b.tar.gz bun-7ef4cd26ac1e8c3527ff95621497dd77273b299b.tar.zst bun-7ef4cd26ac1e8c3527ff95621497dd77273b299b.zip |
Use singular nouns when appropriate on install messages (#2543)
* Use singular nouns when appropriate on install messages
* Fix one more pluralization
* Fix bun-add tests for "1 package installed"
* Fix bun install/remove/update tests for "1 package installed"
Diffstat (limited to 'test/cli/install/bun-update.test.ts')
-rw-r--r-- | test/cli/install/bun-update.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cli/install/bun-update.test.ts b/test/cli/install/bun-update.test.ts index c7d4fdd85..7cdfb3a97 100644 --- a/test/cli/install/bun-update.test.ts +++ b/test/cli/install/bun-update.test.ts @@ -67,7 +67,7 @@ it("should update to latest version of dependency", async () => { expect(out1.replace(/\s*\[[0-9\.]+m?s\]\s*$/, "").split(/\r?\n/)).toEqual([ " + baz@0.0.3", "", - " 1 packages installed", + " 1 package installed", ]); expect(await exited1).toBe(0); expect(urls.sort()).toEqual([`${root_url}/baz`, `${root_url}/baz-0.0.3.tgz`]); @@ -113,7 +113,7 @@ it("should update to latest version of dependency", async () => { " - baz-exec", "", "", - " 1 packages installed", + " 1 package installed", ]); expect(await exited2).toBe(0); expect(urls.sort()).toEqual([`${root_url}/baz`, `${root_url}/baz-0.0.5.tgz`]); @@ -296,7 +296,7 @@ it("lockfile should not be modified when there are no version changes, issue#588 expect(out1.replace(/\s*\[[0-9\.]+m?s\]\s*$/, "").split(/\r?\n/)).toEqual([ " + baz@0.0.3", "", - " 1 packages installed", + " 1 package installed", ]); // Test if the lockb has been modified by `bun update`. |