Sha256: 322367ee5b028ff4919f7ca89f0f0204645690ff57b37582bf8ab15d8e1cce9b

Contents?: true

Size: 332 Bytes

Versions: 8

Compression:

Stored size: 332 Bytes

Contents

require File.expand_path(__FILE__).sub(%r(/test/.*), '/test/test_helper.rb')
require File.expand_path(__FILE__).sub(%r(.*/test/), '').sub(/test_(.*)\.rb/,'\1')

class TestFingerprint < Test::Unit::TestCase
  def test_str
    str = "Start-" + ("0123456789" * 20) + "-End"
    assert_equal 150, Log.fingerprint(str).length
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
scout-essentials-1.6.3 test/scout/log/test_fingerprint.rb
scout-essentials-1.6.2 test/scout/log/test_fingerprint.rb
scout-essentials-1.6.1 test/scout/log/test_fingerprint.rb
scout-essentials-1.6.0 test/scout/log/test_fingerprint.rb
scout-essentials-1.3.1 test/scout/log/test_fingerprint.rb
scout-essentials-1.3.0 test/scout/log/test_fingerprint.rb
scout-essentials-1.2.0 test/scout/log/test_fingerprint.rb
scout-essentials-1.1.1 test/scout/log/test_fingerprint.rb