File: tc_version.rb

package info (click to toggle)
ruby-tzinfo 2.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,824 kB
  • sloc: ruby: 21,667; makefile: 6
file content (10 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
# encoding: UTF-8
# frozen_string_literal: true

require_relative 'test_utils'

class TCVersion < Minitest::Test
  def test_version
    assert(TZInfo::VERSION =~ /\A\d+(\.\d+){2}(\.[a-z]+\d*)?\z/)
  end
end