Sha256: 844b2117e06f590983915c430fefc099d322cd5e97721fe84095db7c7a8a92f6

Contents?: true

Size: 410 Bytes

Versions: 374

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

374 entries across 374 versions & 1 rubygems

Version Path
files.com-1.1.229 spec/path_util_spec.rb
files.com-1.1.228 spec/path_util_spec.rb
files.com-1.1.227 spec/path_util_spec.rb
files.com-1.1.226 spec/path_util_spec.rb
files.com-1.1.225 spec/path_util_spec.rb
files.com-1.1.224 spec/path_util_spec.rb
files.com-1.1.223 spec/path_util_spec.rb
files.com-1.1.222 spec/path_util_spec.rb
files.com-1.1.221 spec/path_util_spec.rb
files.com-1.1.220 spec/path_util_spec.rb
files.com-1.1.219 spec/path_util_spec.rb
files.com-1.1.218 spec/path_util_spec.rb
files.com-1.1.217 spec/path_util_spec.rb
files.com-1.1.216 spec/path_util_spec.rb
files.com-1.1.215 spec/path_util_spec.rb
files.com-1.1.214 spec/path_util_spec.rb
files.com-1.1.213 spec/path_util_spec.rb
files.com-1.1.212 spec/path_util_spec.rb
files.com-1.1.211 spec/path_util_spec.rb
files.com-1.1.210 spec/path_util_spec.rb