aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/utils_spec.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-03-11 11:31:44 +0100
committerMarkus Reiter2017-03-11 21:16:37 +0100
commit44d367edca03acaa737a3156d05bf462f79f0fc3 (patch)
tree0c6716cdd000e2f45f823450faecf798db957426 /Library/Homebrew/test/utils_spec.rb
parent00306a4ced339f9bf2384a4fd94b26530995dd6c (diff)
downloadbrew-44d367edca03acaa737a3156d05bf462f79f0fc3.tar.bz2
Deprecate `#plural`.
Diffstat (limited to 'Library/Homebrew/test/utils_spec.rb')
-rw-r--r--Library/Homebrew/test/utils_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Homebrew/test/utils_spec.rb b/Library/Homebrew/test/utils_spec.rb
index 90eed7d88..314c299a8 100644
--- a/Library/Homebrew/test/utils_spec.rb
+++ b/Library/Homebrew/test/utils_spec.rb
@@ -219,13 +219,6 @@ describe "globally-scoped helper methods" do
end
end
- specify "#plural" do
- expect(plural(1)).to eq("")
- expect(plural(0)).to eq("s")
- expect(plural(42)).to eq("s")
- expect(plural(42, "")).to eq("")
- end
-
specify "#disk_usage_readable" do
expect(disk_usage_readable(1)).to eq("1B")
expect(disk_usage_readable(1000)).to eq("1000B")