class HammerCLI::Testing::OutputMatchers::MatcherBase

Public Class Methods

new(expected="") click to toggle source
# File lib/hammer_cli/testing/output_matchers.rb, line 7
def initialize(expected="")
  @expected = expected
end

Public Instance Methods

assert_match(test_ctx, actual) click to toggle source
# File lib/hammer_cli/testing/output_matchers.rb, line 11
def assert_match(test_ctx, actual)
  test_ctx.assert_equal(@expected, actual)
end