File: version_spec.rb

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

require "spec_helper"

describe "Launchy::VERSION" do
  it "should have a #.#.# format" do
    _(Launchy::VERSION).must_match(/\d+\.\d+\.\d+/)
    _(Launchy::Version.to_s).must_match(/\d+\.\d+\.\d+/)
    Launchy::Version.to_a.each do |n|
      _(n.to_i).must_be :>=, 0
    end
  end
end