Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8251fdd

Browse files
committedDec 9, 2018
elia/cleanup-class-module-definition: [snapshot]
1 parent 6ba54f1 commit 8251fdd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎spec/filters/unsupported/string.rb

+1
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@
281281
fails "String#downcase! sets the result String encoding to the source String encoding" # Expected #<Encoding:UTF-16LE> to be identical to #<Encoding:UTF-8>
282282
fails "String#dump untrusts the result if self is untrusted"
283283
fails "String#dup copies instance variables" # Strings are immutable, so they can't have ivars
284+
fails "String#dup does not copy singleton methods" # TypeError: can't define singleton
284285
fails "String#dup does not modify the original string when changing dupped string"
285286
fails "String#each_char is unicode aware"
286287
fails "String#each_line does not care if the string is modified while substituting"

0 commit comments

Comments
 (0)
Please sign in to comment.