Module: UnifiedMatchers
- Defined in:
- lib/unified_matchers/assertions.rb,
lib/unified_matchers.rb,
lib/unified_matchers/helpers.rb,
lib/unified_matchers/version_id.rb,
lib/unified_matchers/diff_matcher.rb,
lib/unified_matchers/matcher_result.rb,
lib/unified_matchers/stream_matcher.rb,
lib/unified_matchers/matcher_results.rb,
lib/unified_matchers/unified_matcher.rb,
lib/unified_matchers/gnu_diff_matcher.rb,
lib/unified_matchers/lcs_diff_matcher.rb,
lib/unified_matchers/equality_based_matcher.rb,
lib/unified_matchers/case_equality_based_matcher.rb,
lib/unified_matchers/strict_equality_based_matcher.rb
Overview
@LcsDiffMatcher@ inherits from @DiffMatcher@. The final rule, where @ref@ is a string, is removed, and an other is added which aims at comparing arrays: its arguments are two arrays, and it compares them with LCS. The intermediate rule @io@ is replaced by: if the object responds to @rewind@ and @readlines@, it is read from the beginning as a string array. A new intermediate rule is also defined: if an argument is a String, it is transformed into an array.
Defined Under Namespace
Modules: Assertions, Helpers Classes: CaseEqualityBasedMatcher, DiffMatcher, EqualityBasedMatcher, GnuDiffMatcher, LcsDiffMatcher, MatcherResult, MatcherResults, StreamMatcher, StrictEqualityBasedMatcher, UnifiedMatcher
Constant Summary collapse
- VersionId =
Version.parse("dev-ruby/unified_matchers-0.1_p1")