summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-time
diff options
context:
space:
mode:
authorken-mu <[email protected]>2018-01-21 02:47:17 +0000
committerken-mu <[email protected]>2018-01-21 02:47:17 +0000
commitd398cd47d7eaf01ab86e63e6ef0dfa616332a308 (patch)
treedc90265e56f6234472e5710af47f00f332af08d9 /mrbgems/mruby-time
parenta1f36316d2ff0535d195412a74fae3f501cead41 (diff)
downloadmruby-d398cd47d7eaf01ab86e63e6ef0dfa616332a308.tar.gz
mruby-d398cd47d7eaf01ab86e63e6ef0dfa616332a308.zip
mruby-time: remove test case less than Dec 31 23:59:58 1969
Diffstat (limited to 'mrbgems/mruby-time')
-rw-r--r--mrbgems/mruby-time/test/time.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/mrbgems/mruby-time/test/time.rb b/mrbgems/mruby-time/test/time.rb
index 14cd984c6..4e7b94a7c 100644
--- a/mrbgems/mruby-time/test/time.rb
+++ b/mrbgems/mruby-time/test/time.rb
@@ -233,12 +233,4 @@ end
assert('Time.gm with Dec 31 23:59:59 1969 raise ArgumentError') do
assert_raise(ArgumentError) {Time.gm(1969, 12, 31, 23, 59, 59)}
-end
-
-assert('Time.new can make less than Dec 31 23:59:58 1969') do
- Time.new(1969, 12, 31, 23, 59, 58).year == 1969
-end
-
-assert('Time.gm can make less than Dec 31 23:59:58 1969') do
- Time.gm(1969, 12, 31, 23, 59, 58).year == 1969
end \ No newline at end of file