Sha256: 844b2117e06f590983915c430fefc099d322cd5e97721fe84095db7c7a8a92f6

Contents?: true

Size: 410 Bytes

Versions: 368

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

368 entries across 368 versions & 1 rubygems

Version Path
files.com-1.0.379 spec/path_util_spec.rb
files.com-1.0.378 spec/path_util_spec.rb
files.com-1.0.377 spec/path_util_spec.rb
files.com-1.0.376 spec/path_util_spec.rb
files.com-1.0.375 spec/path_util_spec.rb
files.com-1.0.374 spec/path_util_spec.rb
files.com-1.0.373 spec/path_util_spec.rb
files.com-1.0.372 spec/path_util_spec.rb
files.com-1.0.371 spec/path_util_spec.rb
files.com-1.0.370 spec/path_util_spec.rb
files.com-1.0.369 spec/path_util_spec.rb
files.com-1.0.368 spec/path_util_spec.rb
files.com-1.0.367 spec/path_util_spec.rb
files.com-1.0.366 spec/path_util_spec.rb
files.com-1.0.365 spec/path_util_spec.rb
files.com-1.0.364 spec/path_util_spec.rb
files.com-1.0.363 spec/path_util_spec.rb
files.com-1.0.362 spec/path_util_spec.rb
files.com-1.0.361 spec/path_util_spec.rb
files.com-1.0.360 spec/path_util_spec.rb