Ignore:
Timestamp:
Jan 21, 2018, 12:10:09 AM (6 years ago)
Author:
coas-nagasima
Message:

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

Location:
EcnlProtoTool/trunk/mruby-1.3.0
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/mruby-1.3.0/test/t/module.rb

    r321 r331  
    494494
    495495# Not ISO specified
     496
     497assert('Module#define_method') do
     498  c = Class.new {
     499    define_method(:m1) { :ok }
     500    define_method(:m2, Proc.new { :ok })
     501  }
     502  assert_equal c.new.m1, :ok
     503  assert_equal c.new.m2, :ok
     504  assert_raise(TypeError) do
     505    Class.new { define_method(:n1, nil) }
     506  end
     507end
    496508
    497509# @!group prepend
     
    838850  assert_raise(TypeError) { module []::M2 end }
    839851end
     852
     853assert('get constant of parent module in singleton class; issue #3568') do
     854  actual = module GetConstantInSingletonTest
     855    EXPECTED = "value"
     856    class << self
     857      EXPECTED
     858    end
     859  end
     860
     861  assert_equal("value", actual)
     862end
Note: See TracChangeset for help on using the changeset viewer.