Sha256: 548a317dbdf098e4bf47ded4f575e6bbbe0b6aec0d41cc17f7072433360f12b7

Contents?: true

Size: 340 Bytes

Versions: 15

Compression:

Stored size: 340 Bytes

Contents

//
// Replaces old by new in $list
//
@include describe("[function] replace") {

    $list: ("one", "two", "three");

    @include it("should expect value to be replaced in list") {
        @include should(expect(
            flint-replace($list, "three", "two, again")),
            to(be(("one", "two", "two, again")))
        );
    }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
flint-gs-2.3.6 tests/input/functions/lib/_replace.scss
flint-gs-2.3.5 tests/input/functions/lib/_replace.scss
flint-gs-2.3.4 tests/input/functions/lib/_replace.scss
flint-gs-2.3.3 tests/input/functions/lib/_replace.scss
flint-gs-2.3.2 tests/input/functions/lib/_replace.scss
flint-gs-2.3.1 tests/input/functions/lib/_replace.scss
flint-gs-2.3.0 tests/input/functions/lib/_replace.scss
flint-gs-2.2.0 tests/input/functions/lib/_replace.scss
flint-gs-2.1.4 tests/input/functions/lib/_replace.scss
flint-gs-2.1.3 tests/input/functions/lib/_replace.scss
flint-gs-2.1.2 tests/input/functions/lib/_replace.scss
flint-gs-2.1.1 tests/input/functions/lib/_replace.scss
flint-gs-2.1.0 tests/input/functions/lib/_replace.scss
flint-gs-2.0.9 tests/input/functions/lib/_replace.scss
flint-gs-2.0.8 tests/input/functions/lib/_replace.scss