File: version_test.rb

package info (click to toggle)
ruby-zip 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,120 kB
  • sloc: ruby: 9,958; makefile: 23
file content (13 lines) | stat: -rw-r--r-- 339 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require_relative 'test_helper'

require 'zip/version'

class VersionTest < Minitest::Test
  def test_version
    # Ensure all our versions numbers have at least MAJOR.MINOR.PATCH
    # elements separated by dots, to comply with Semantic Versioning.
    assert_match(/^\d+\.\d+\.\d+/, Zip::VERSION)
  end
end