Add a space delimiter to duplicated hash keys

This commit is contained in:
Vitalii Elenhaupt 2018-04-13 20:10:21 +03:00
parent 9cf5d05dc0
commit d307f01bfa
No known key found for this signature in database
GPG key ID: 7558EF3A4056C706
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ module Ameba::Rule
)
subject.catch(s).should_not be_valid
error = s.errors.first
error.message.should eq %(Duplicated keys in hash literal: "key1","key2")
error.message.should eq %(Duplicated keys in hash literal: "key1", "key2")
end
end
end