mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use ± symbol for range
This commit is contained in:
parent
414f132f49
commit
c99401f7d5
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ module Spectator::Matchers
|
||||||
lower = center - diff
|
lower = center - diff
|
||||||
upper = center + diff
|
upper = center + diff
|
||||||
range = Range.new(lower, upper)
|
range = Range.new(lower, upper)
|
||||||
test_value = TestValue.new(range, "#{center} +/- #{expected.label}")
|
test_value = TestValue.new(range, "#{center} ± #{expected.label}")
|
||||||
RangeMatcher.new(test_value)
|
RangeMatcher.new(test_value)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue