# frozen_string_literal: true
require 'gir_ffi_test_helper'

describe GirFFI::VERSION do
  it 'is set to a valid version number' do
    GirFFI::VERSION.must_match(/\d+\.\d+\.\d+/)
  end
end

# frozen_string_literal: true
require 'gir_ffi_test_helper'

describe 'GirFFI::VERSION' do
  it 'is set to a valid version number' do
    GirFFI::VERSION.must_match(/\d+\.\d+\.\d+/)
  end
end

Fix description for GirFFI::VERSION test
Fix description for GirFFI::VERSION test

Unlike with classes, the bare constant does not result in the
description being 'GirFFI::VERSION', but instead makes the description
equal to the value of GirFFI::VERSION, which is not what we want.
