diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-26 12:02:46 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-26 12:02:46 +0900 |
| commit | 277e81a7c9d8689539d8087c512475c687c8680e (patch) | |
| tree | aeeb9e649904705c0858d52991401a9d2001c88f /mrbgems/mruby-time | |
| parent | 4256130ecd48f65491b487539e5a799fd02d4027 (diff) | |
| download | mruby-277e81a7c9d8689539d8087c512475c687c8680e.tar.gz mruby-277e81a7c9d8689539d8087c512475c687c8680e.zip | |
removed failing test for Time#initialize; ref #3295
Diffstat (limited to 'mrbgems/mruby-time')
| -rw-r--r-- | mrbgems/mruby-time/test/time.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/mrbgems/mruby-time/test/time.rb b/mrbgems/mruby-time/test/time.rb index 91a646759..759e2881d 100644 --- a/mrbgems/mruby-time/test/time.rb +++ b/mrbgems/mruby-time/test/time.rb @@ -211,14 +211,3 @@ assert('2000 times 500us make a second') do end t.usec == 0 end - -assert("Time#initialize doens't leave uninitialized object accessible") do - assert_raise ArgumentError do - $x = Time.new - a = Object.new - def a.to_i - $x.mday - end - $x.initialize a - end -end |
