mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix some includes and a dangling old file
This commit is contained in:
parent
11600a2f8d
commit
42b8fe471f
4 changed files with 4 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
||||||
require "../matchers/failed_matched_data"
|
require "../matchers/failed_match_data"
|
||||||
require "../matchers/match_data"
|
require "../matchers/match_data"
|
||||||
require "../source"
|
require "../source"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require "./labeled_value"
|
require "../test_value"
|
||||||
require "./match_data"
|
require "./match_data"
|
||||||
|
|
||||||
module Spectator::Matchers
|
module Spectator::Matchers
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
module Spectator::Matchers
|
|
||||||
# A value from match data with a label.
|
|
||||||
struct MatchDataLabeledValue
|
|
||||||
# Label tied to the value.
|
|
||||||
# This annotates what the value is.
|
|
||||||
getter label : Symbol
|
|
||||||
|
|
||||||
# The actual value from the match data.
|
|
||||||
getter value : MatchDataValue
|
|
||||||
|
|
||||||
# Creates a new labeled value.
|
|
||||||
def initialize(@label, @value)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,6 +1,6 @@
|
||||||
require "./failed_matched_data"
|
require "../test_value"
|
||||||
|
require "./failed_match_data"
|
||||||
require "./successful_match_data"
|
require "./successful_match_data"
|
||||||
require "./test_value"
|
|
||||||
|
|
||||||
module Spectator::Matchers
|
module Spectator::Matchers
|
||||||
# Common base class for all expectation conditions.
|
# Common base class for all expectation conditions.
|
||||||
|
|
Loading…
Reference in a new issue