spec/unit/semantic_version_spec.rb in omnibus-5.4.0 vs spec/unit/semantic_version_spec.rb in omnibus-5.5.0
- old
+ new
@@ -11,16 +11,16 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require 'spec_helper'
+require "spec_helper"
module Omnibus
describe SemanticVersion do
it "raises an InvalidVersion error if it doesn't understand the format" do
- expect {Omnibus::SemanticVersion.new("wut")}.to raise_error(Omnibus::InvalidVersion)
+ expect { Omnibus::SemanticVersion.new("wut") }.to raise_error(Omnibus::InvalidVersion)
end
it "preserves leading the leading v when printing the string" do
v = Omnibus::SemanticVersion.new("v1.0.0")
expect(v.to_s).to eq("v1.0.0")