@include test('minor(..)') {
  $tests: (
    '1.2.3': 2,
    '1.20.3': 20,
    '1.200.3': 200,
    '1.2.3-alpha': 2,
    '1.20.3-alpha': 20,
    '1.200.3-alpha': 200,
    '1.2.3-alpha.0': 2,
    '1.20.3-alpha.0': 20,
    '1.200.3-alpha.0': 200,
    '1.1.3': 1,
    ' 1.1.3 ': 1,
    ' 1.2.3-4 ': 2,
    ' 1.3.3-pre ': 3,
    'v1.5.3': 5,
    ' v1.8.3 ': 8,
    '\t1.13.3': 13,
    '=1.21.3': 21,
    'v=1.34.3': 34,
  );


  @each $test, $expect in $tests {
    @include assert-equal(minor($test), $expect, 'Returns the minor component of a version.');
  }
}
