Sha256: ae935a5dcfdb0bc0c179fcbbc6158d6541fc2fb25b7d16fd279ecdecab490e5a

Contents?: true

Size: 597 Bytes

Versions: 2

Compression:

Stored size: 597 Bytes

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :test)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'test/unit'
require 'mocha/setup'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'langusta'

class Test::Unit::TestCase
  include Langusta

  def str2cp(ascii_string)
    Langusta.utf82cp(ascii_string)
  end

  def utf82cp(utf8_string)
    Langusta.utf82cp(utf8_string)
  end
end

$debug = true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
langusta-0.2.4 test/helper.rb
langusta-0.2.3 test/helper.rb