Skip to content

Commit

Permalink
Use rubysepc for Kernel#to_s and #tap
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 29, 2013
1 parent ab65e84 commit f4dc25c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
3 changes: 3 additions & 0 deletions spec/filters/unsupported/tainted.rb
Expand Up @@ -34,5 +34,8 @@
fails "Array#join taints the result if the result of coercing an element is tainted"
fails "Array#join does not taint the result if the Array is tainted but empty"
fails "Array#join taints the result if the Array is tainted and non-empty"

fails "Kernel#to_s returns a tainted result if self is tainted"

fails "Pathname.new is tainted if path is tainted"
end
2 changes: 2 additions & 0 deletions spec/filters/unsupported/trusted.rb
Expand Up @@ -33,4 +33,6 @@
fails "Array#join untrusts the result if the result of coercing an element is untrusted"
fails "Array#join does not untrust the result if the Array is untrusted but empty"
fails "Array#join untrusts the result if the Array is untrusted and non-empty"

fails "Kernel#to_s returns an untrusted result if self is untrusted"
end
10 changes: 0 additions & 10 deletions spec/rubyspec/core/kernel/tap_spec.rb

This file was deleted.

5 changes: 0 additions & 5 deletions spec/rubyspec/core/kernel/to_s_spec.rb

This file was deleted.

3 changes: 3 additions & 0 deletions spec/rubyspecs
Expand Up @@ -195,6 +195,9 @@ core/hash/values_spec
core/kernel/comparison_spec
core/kernel/eql_spec
core/kernel/equal_spec
core/kernel/equal_value_spec
core/kernel/tap_spec
core/kernel/to_s_spec

core/matchdata/to_a_spec

Expand Down

0 comments on commit f4dc25c

Please sign in to comment.