Skip to content

Commit 6377472

Browse files
committed
Improve spec description
1 parent 7351cae commit 6377472

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/ruby/core/hash/ruby2_keywords_hash_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Hash.ruby2_keywords_hash?({}).should == false
88
end
99

10-
it "returns true if the Hash is a keywords Hash" do
10+
it "returns true if the Hash is a keywords Hash marked by Module#ruby2_keywords" do
1111
obj = Class.new {
1212
ruby2_keywords def m(*args)
1313
args.last
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fails:Hash.ruby2_keywords_hash? returns true if the Hash is a keywords Hash
1+
fails:Hash.ruby2_keywords_hash? returns true if the Hash is a keywords Hash marked by Module#ruby2_keywords

0 commit comments

Comments
 (0)