aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/gc/disable_spec.rb
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2021-01-06 12:20:03 -0500
committerAaron Patterson <aaron.patterson@gmail.com>2021-01-19 12:06:45 -0800
commit9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e (patch)
tree4c0a885269e1b6332027527fbbb9689ba045c256 /spec/ruby/core/gc/disable_spec.rb
parenta8dc5156e183489c5121fb1759bda5d9406d9175 (diff)
downloadruby-9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e.tar.gz
Replace "iff" with "if and only if"
iff means if and only if, but readers without that knowledge might assume this to be a spelling mistake. To me, this seems like exclusionary language that is unnecessary. Simply using "if and only if" instead should suffice.
Diffstat (limited to 'spec/ruby/core/gc/disable_spec.rb')
-rw-r--r--spec/ruby/core/gc/disable_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/gc/disable_spec.rb b/spec/ruby/core/gc/disable_spec.rb
index b0221d8520..f89a9d2768 100644
--- a/spec/ruby/core/gc/disable_spec.rb
+++ b/spec/ruby/core/gc/disable_spec.rb
@@ -5,7 +5,7 @@ describe "GC.disable" do
GC.enable
end
- it "returns true iff the garbage collection was previously disabled" do
+ it "returns true if and only if the garbage collection was previously disabled" do
GC.enable
GC.disable.should == false
GC.disable.should == true