Sha256: aabb6d6f83847f4370b4d7566ba91ac7dc9a3ae1b2c41550372fd544a56c388e

Contents?: true

Size: 278 Bytes

Versions: 51

Compression:

Stored size: 278 Bytes

Contents

@function be-less-than($this) {
  $actual: actual();
  $when: false;

  @if type-of($actual) == "number" {
    $when: $actual < $this;
  } @else {
    $when: error("type", "The `be-less-than` matcher is only for numbers");
  }

  @return should("be less than", $this, $when);
}

Version data entries

51 entries across 51 versions & 2 rubygems

Version Path
flint-gs-2.3.6 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
flint-gs-2.3.5 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
flint-gs-2.3.4 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
flint-gs-2.3.3 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
flint-gs-2.3.2 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
flint-gs-2.3.1 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
flint-gs-2.3.0 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.14 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.13 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
flint-gs-2.2.0 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
flint-gs-2.1.4 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.12 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.11 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.10 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.5 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.4 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.3 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.2 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.6.0 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.37 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss