diff options
author | Michael Granger <ged@FaerieMUD.org> | 2012-01-24 14:40:50 -0800 |
---|---|---|
committer | Michael Granger <ged@FaerieMUD.org> | 2012-01-24 14:40:50 -0800 |
commit | 7f6f229bd94402731552c437874091582e6fe0d7 (patch) | |
tree | 9685ea87f76a159391f452cc41a7e764d4810e3c /lib/diff | |
parent | 84b5236f23717f0070a90b481554289975fb65d9 (diff) | |
download | diff-lcs-7f6f229bd94402731552c437874091582e6fe0d7.tar.gz |
Fix+specs for Diff::LCS::ChangeTypeTests predicates
Diffstat (limited to 'lib/diff')
-rw-r--r-- | lib/diff/lcs/change.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diff/lcs/change.rb b/lib/diff/lcs/change.rb index 6ecdf7e..5139821 100644 --- a/lib/diff/lcs/change.rb +++ b/lib/diff/lcs/change.rb @@ -30,15 +30,15 @@ module Diff::LCS::ChangeTypeTests end def changed? - @changed == '!' + @action == '!' end def finished_a? - @changed == '>' + @action == '>' end def finished_b? - @changed == '<' + @action == '<' end end |