Sha256: 3d798bac7f0e613a12ca3b2dcf55362cfe563e9575bd8e55cc37faa8b3528651

Contents?: true

Size: 687 Bytes

Versions: 17

Compression:

Stored size: 687 Bytes

Contents

# NOTE: run bin/format-filters after changing this file
opal_filter "Pathname" do
  fails "Pathname#/ appends a pathname to self" # NoMethodError: undefined method `/' for /usr
  fails "Pathname#inspect returns a consistent String" # Expected "/tmp" == "#<Pathname:/tmp>" to be truthy but was false
  fails "Pathname#realdirpath returns a Pathname"
  fails "Pathname#realpath returns a Pathname"
  fails "Pathname#relative_path_from raises an error when the base directory has .."
  fails "Pathname#relative_path_from raises an error when the two paths do not share a common prefix"
  fails "Pathname#relative_path_from returns current and pattern when only those patterns are used"
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
opal-1.6.1 spec/filters/bugs/pathname.rb
opal-1.6.0 spec/filters/bugs/pathname.rb
opal-1.6.0.rc1 spec/filters/bugs/pathname.rb
opal-1.6.0.alpha1 spec/filters/bugs/pathname.rb
opal-1.5.1 spec/filters/bugs/pathname.rb
opal-1.5.0 spec/filters/bugs/pathname.rb
opal-1.5.0.rc1 spec/filters/bugs/pathname.rb
opal-1.4.1 spec/filters/bugs/pathname.rb
opal-1.4.0 spec/filters/bugs/pathname.rb
opal-1.4.0.alpha1 spec/filters/bugs/pathname.rb
opal-1.3.2 spec/filters/bugs/pathname.rb
opal-1.3.1 spec/filters/bugs/pathname.rb
opal-1.3.0 spec/filters/bugs/pathname.rb
opal-1.3.0.rc1 spec/filters/bugs/pathname.rb
opal-1.3.0.alpha1 spec/filters/bugs/pathname.rb
opal-1.2.0 spec/filters/bugs/pathname.rb
opal-1.2.0.beta1 spec/filters/bugs/pathname.rb