spec/integration/readme/equation_spec.rb in danica-2.7.4 vs spec/integration/readme/equation_spec.rb in danica-2.7.5
- old
+ new
@@ -1,11 +1,13 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe Danica::Equation do
subject do
described_class.build(:x, :y, :z) do
- left { x ** 2 + y ** 2 }
- right { number(1) - z ** 2 }
+ left { x**2 + y**2 }
+ right { number(1) - z**2 }
end.new
end
describe '#to_gnu' do
it 'generates the gnu format' do