Sha256: f242beda6c228d6fb1368b0fbe432c23151a6cc13d4a2219379df1d85a414771
Contents?: true
Size: 716 Bytes
Versions: 41
Compression:
Stored size: 716 Bytes
Contents
#!/usr/bin/env ruby require 'minitest/autorun' require_relative 'leap' # Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %> class Date def leap? raise RuntimeError, "Implement this yourself instead of using Ruby's implementation." end alias gregorian_leap? leap? alias julian_leap? leap? end class YearTest < Minitest::Test <% test_cases.each_with_index do |test_case, idx| %> def <%= test_case.name %> <%= test_case.skipped(idx) %> <%= test_case.workload %>, "<%= test_case.failure_message %>" end <% end %> <%= IO.read(XRUBY_LIB + '/bookkeeping.md') %> def test_bookkeeping skip assert_equal <%= version %>, BookKeeping::VERSION end end
Version data entries
41 entries across 41 versions & 1 rubygems