Fix test
This commit is contained in:
parent
bd5ff8b41a
commit
0a8c8e2c50
@ -500,11 +500,6 @@ class Version
|
||||
@detected_from_url = detected_from_url
|
||||
end
|
||||
|
||||
# Represents the absence of a version.
|
||||
#
|
||||
# NOTE: Constructor needs to called with an arbitrary non-empty version which is then set to `nil`.
|
||||
NULL = T.let(Version.new("NULL").tap { |v| v.instance_variable_set(:@version, nil) }.freeze, Version)
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def detected_from_url?
|
||||
@detected_from_url
|
||||
@ -771,6 +766,11 @@ class Version
|
||||
)
|
||||
end
|
||||
|
||||
# Represents the absence of a version.
|
||||
#
|
||||
# NOTE: Constructor needs to called with an arbitrary non-empty version which is then set to `nil`.
|
||||
NULL = T.let(Version.new("NULL").tap { |v| v.instance_variable_set(:@version, nil) }.freeze, Version)
|
||||
|
||||
private
|
||||
|
||||
sig { params(first: Integer, second: Integer).returns(Integer) }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user