Fix method name (copy/paste fail)

This commit is contained in:
Michael Miller 2019-08-08 21:52:33 -06:00
parent 3b1a5a1121
commit 9dc5a999d1

View file

@ -35,6 +35,7 @@ module Spectator::Matchers
private def match_last(actual) private def match_last(actual)
list = actual.value.to_a list = actual.value.to_a
private def match_first(value, actual)
first = list.first first = list.first
if expected.value === first if expected.value === first