Sha256: 713d299829241e3901747d65b415d5af47c6b085a8d5b7f17a9f07425fb0d10d

Contents?: true

Size: 591 Bytes

Versions: 3

Compression:

Stored size: 591 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'

$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

3 entries across 3 versions & 1 rubygems

Version Path
langusta-0.2.2 test/helper.rb
langusta-0.2.1 test/helper.rb
langusta-0.2.0 test/helper.rb