Sha256: 844b2117e06f590983915c430fefc099d322cd5e97721fe84095db7c7a8a92f6

Contents?: true

Size: 410 Bytes

Versions: 325

Compression:

Stored size: 410 Bytes

Contents

require "spec_helper"
require 'json'

RSpec.describe Files::PathUtil do
  json_str = File.read("shared/normalization_for_comparison_test_data.json")
  test_cases = JSON.parse json_str

  test_cases.each do |test_case_info|
    src_chars, dst_chars = test_case_info
    example "normalizes #{src_chars} to #{dst_chars}" do
      expect(Files::PathUtil.same?(src_chars, dst_chars)).to eq(true)
    end
  end
end

Version data entries

325 entries across 325 versions & 1 rubygems

Version Path
files.com-1.1.180 spec/path_util_spec.rb
files.com-1.1.179 spec/path_util_spec.rb
files.com-1.1.178 spec/path_util_spec.rb
files.com-1.1.177 spec/path_util_spec.rb
files.com-1.1.176 spec/path_util_spec.rb
files.com-1.1.175 spec/path_util_spec.rb
files.com-1.1.174 spec/path_util_spec.rb
files.com-1.1.173 spec/path_util_spec.rb
files.com-1.1.172 spec/path_util_spec.rb
files.com-1.1.171 spec/path_util_spec.rb
files.com-1.1.170 spec/path_util_spec.rb
files.com-1.1.169 spec/path_util_spec.rb
files.com-1.1.168 spec/path_util_spec.rb
files.com-1.1.167 spec/path_util_spec.rb
files.com-1.1.166 spec/path_util_spec.rb
files.com-1.1.165 spec/path_util_spec.rb
files.com-1.1.164 spec/path_util_spec.rb
files.com-1.1.163 spec/path_util_spec.rb
files.com-1.1.162 spec/path_util_spec.rb
files.com-1.1.161 spec/path_util_spec.rb