Replaced http with https whenever such link exists. (apatniv)

[git-p4: depot-paths = "//src/minitest/dev/": change = 13320]
This commit is contained in:
Ryan Davis 2022-02-25 14:39:43 -08:00
parent fb48a97ca0
commit 3787fed228
6 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@
home :: https://github.com/seattlerb/minitest
bugs :: https://github.com/seattlerb/minitest/issues
rdoc :: http://docs.seattlerb.org/minitest
rdoc :: https://docs.seattlerb.org/minitest
vim :: https://github.com/sunaku/vim-ruby-minitest
emacs:: https://github.com/arthurnn/minitest-emacs
@ -186,7 +186,7 @@ Output is tab-delimited to make it easy to paste into a spreadsheet.
=== Mocks
Mocks and stubs defined using terminology by Fowler & Meszaros at
http://www.martinfowler.com/bliki/TestDouble.html:
https://www.martinfowler.com/bliki/TestDouble.html:
"Mocks are pre-programmed with expectations which form a specification
of the calls they are expected to receive. They can throw an exception
@ -237,7 +237,7 @@ an example of asserting that code inside a thread is run:
=== Stubs
Mocks and stubs are defined using terminology by Fowler & Meszaros at
http://www.martinfowler.com/bliki/TestDouble.html:
https://www.martinfowler.com/bliki/TestDouble.html:
"Stubs provide canned answers to calls made during the test".
@ -751,7 +751,7 @@ Authors... Please send me a pull request with a description of your minitest ext
== Minitest related goods
* minitest/pride fabric: http://www.spoonflower.com/fabric/3928730-again-by-katie_allen
* minitest/pride fabric: https://www.spoonflower.com/fabric/3928730-again-by-katie_allen
== REQUIREMENTS:

View File

@ -217,7 +217,7 @@ module Minitest
##
# Takes an array of x/y pairs and calculates the general R^2 value.
#
# See: http://en.wikipedia.org/wiki/Coefficient_of_determination
# See: https://en.wikipedia.org/wiki/Coefficient_of_determination
def fit_error xys
y_bar = sigma(xys) { |_, y| y } / xys.size.to_f
@ -232,7 +232,7 @@ module Minitest
#
# Takes x and y values and returns [a, b, r^2].
#
# See: http://mathworld.wolfram.com/LeastSquaresFittingExponential.html
# See: https://mathworld.wolfram.com/LeastSquaresFittingExponential.html
def fit_exponential xs, ys
n = xs.size
@ -254,7 +254,7 @@ module Minitest
#
# Takes x and y values and returns [a, b, r^2].
#
# See: http://mathworld.wolfram.com/LeastSquaresFittingLogarithmic.html
# See: https://mathworld.wolfram.com/LeastSquaresFittingLogarithmic.html
def fit_logarithmic xs, ys
n = xs.size
@ -276,7 +276,7 @@ module Minitest
#
# Takes x and y values and returns [a, b, r^2].
#
# See: http://mathworld.wolfram.com/LeastSquaresFitting.html
# See: https://mathworld.wolfram.com/LeastSquaresFitting.html
def fit_linear xs, ys
n = xs.size
@ -298,7 +298,7 @@ module Minitest
#
# Takes x and y values and returns [a, b, r^2].
#
# See: http://mathworld.wolfram.com/LeastSquaresFittingPowerLaw.html
# See: https://mathworld.wolfram.com/LeastSquaresFittingPowerLaw.html
def fit_power xs, ys
n = xs.size

View File

@ -48,7 +48,7 @@ module Minitest
def initialize io # :nodoc:
@io = io
# stolen from /System/Library/Perl/5.10.0/Term/ANSIColor.pm
# also reference http://en.wikipedia.org/wiki/ANSI_escape_code
# also reference https://en.wikipedia.org/wiki/ANSI_escape_code
@colors ||= (31..36).to_a
@size = @colors.size
@index = 0

View File

@ -66,7 +66,7 @@ module Kernel
#
# For some suggestions on how to improve your specs, try:
#
# http://betterspecs.org
# https://betterspecs.org
#
# but do note that several items there are debatable or specific to
# rspec.

View File

@ -804,7 +804,7 @@ class TestMinitestAssertions < Minitest::Test
# *sigh* This is quite an odd scenario, but it is from real (albeit
# ugly) test code in ruby-core:
# http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29259
# https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29259
def test_assert_raises_skip
@assertion_count = 0

View File

@ -3,7 +3,7 @@ require "minitest/benchmark"
##
# Used to verify data:
# http://www.wolframalpha.com/examples/RegressionAnalysis.html
# https://www.wolframalpha.com/examples/RegressionAnalysis.html
class TestMinitestBenchmark < Minitest::Test
def test_cls_bench_exp
@ -110,7 +110,7 @@ class TestMinitestBenchmark < Minitest::Test
assert_fit :power, x, y, 0.90, 2.6217, 1.4556
# income to % of households below income amount
# http://library.wolfram.com/infocenter/Conferences/6461/PowerLaws.nb
# https://library.wolfram.com/infocenter/Conferences/6461/PowerLaws.nb
x = [15_000, 25_000, 35_000, 50_000, 75_000, 100_000]
y = [0.154, 0.283, 0.402, 0.55, 0.733, 0.843]