diff options
author | Austin Ziegler <austin@zieglers.ca> | 2021-12-23 10:50:34 -0500 |
---|---|---|
committer | Austin Ziegler <austin@zieglers.ca> | 2022-07-04 20:26:10 -0400 |
commit | 089f932537a540af9c27dd03caf30eff6b4a0306 (patch) | |
tree | 9107279885b3650b5c655840ea690c24c9683852 /spec/change_spec.rb | |
parent | cb9bebb30477e815cdbe8f8460f227f0940599a1 (diff) | |
download | diff-lcs-089f932537a540af9c27dd03caf30eff6b4a0306.tar.gz |
standardrb --only Layout/ExtraSpacing --fix and ignore
Diffstat (limited to 'spec/change_spec.rb')
-rw-r--r-- | spec/change_spec.rb | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/spec/change_spec.rb b/spec/change_spec.rb index 237f621..42533ae 100644 --- a/spec/change_spec.rb +++ b/spec/change_spec.rb @@ -5,62 +5,62 @@ require "spec_helper" describe Diff::LCS::Change do describe "an add" do subject { described_class.new("+", 0, "element") } - it { should_not be_deleting } - it { should be_adding } - it { should_not be_unchanged } - it { should_not be_changed } + it { should_not be_deleting } + it { should be_adding } + it { should_not be_unchanged } + it { should_not be_changed } it { should_not be_finished_a } it { should_not be_finished_b } end describe "a delete" do subject { described_class.new("-", 0, "element") } - it { should be_deleting } - it { should_not be_adding } - it { should_not be_unchanged } - it { should_not be_changed } + it { should be_deleting } + it { should_not be_adding } + it { should_not be_unchanged } + it { should_not be_changed } it { should_not be_finished_a } it { should_not be_finished_b } end describe "an unchanged" do subject { described_class.new("=", 0, "element") } - it { should_not be_deleting } - it { should_not be_adding } - it { should be_unchanged } - it { should_not be_changed } + it { should_not be_deleting } + it { should_not be_adding } + it { should be_unchanged } + it { should_not be_changed } it { should_not be_finished_a } it { should_not be_finished_b } end describe "a changed" do subject { described_class.new("!", 0, "element") } - it { should_not be_deleting } - it { should_not be_adding } - it { should_not be_unchanged } - it { should be_changed } + it { should_not be_deleting } + it { should_not be_adding } + it { should_not be_unchanged } + it { should be_changed } it { should_not be_finished_a } it { should_not be_finished_b } end describe "a finished_a" do subject { described_class.new(">", 0, "element") } - it { should_not be_deleting } - it { should_not be_adding } - it { should_not be_unchanged } - it { should_not be_changed } - it { should be_finished_a } + it { should_not be_deleting } + it { should_not be_adding } + it { should_not be_unchanged } + it { should_not be_changed } + it { should be_finished_a } it { should_not be_finished_b } end describe "a finished_b" do subject { described_class.new("<", 0, "element") } - it { should_not be_deleting } - it { should_not be_adding } - it { should_not be_unchanged } - it { should_not be_changed } + it { should_not be_deleting } + it { should_not be_adding } + it { should_not be_unchanged } + it { should_not be_changed } it { should_not be_finished_a } - it { should be_finished_b } + it { should be_finished_b } end describe "as array" do |