Sha256: 4f6f84f0a2e33d38570fd8f1e2f0c35b6cb42d93522c62d261d703e83e42d22f
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 KB
Contents
opal_filter "immutable strings" do fails "Array#fill does not replicate the filler" fails "Hash literal freezes string keys on initialization" fails "Time#strftime formats time according to the directives in the given format string" fails "Time#strftime with %z formats a local time with positive UTC offset as '+HHMM'" fails "Time#strftime with %z formats a local time with negative UTC offset as '-HHMM'" fails "String#chomp when passed no argument returns a copy of the String when it is not modified" fails "String#chop returns a new string when applied to an empty string" fails "String#chop! removes the final character" fails "String#chop! removes the final carriage return" fails "String#chop! removes the final newline" fails "String#chop! removes the final carriage return, newline" fails "String#chop! removes the carrige return, newline if they are the only characters" fails "String#chop! does not remove more than the final carriage return, newline" fails "String#chop! returns self if modifications were made" fails "String#chop! returns nil when called on an empty string" fails "String#chop! raises a RuntimeError on a frozen instance that is modified" fails "String#chop! raises a RuntimeError on a frozen instance that would not be modified" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
opal-0.5.5 | spec/opal/filters/unsupported/immutable_strings.rb |
opal-0.5.4 | spec/filters/unsupported/immutable_strings.rb |