Sha256: 43bce6338ee87c1b972af8511fd50963d07f782750fef293a42ff2f3f8bf2f1e

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

//
// Replace substring
//
@include describe("[function] replace-substring") {

	$string: "this is a string";

	@include it("should expect the substring to be updated inside of string") {
		@include should(expect(
			flint-replace-substring($string, "a", "an awesome")),
			to(be("this is an awesome string"))
		);
	}
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
flint-gs-2.2.0 tests/input/functions/lib/_replace-substring.scss
flint-gs-2.1.4 tests/input/functions/lib/_replace-substring.scss
flint-gs-2.1.3 tests/input/functions/lib/_replace-substring.scss
flint-gs-2.1.2 tests/input/functions/lib/_replace-substring.scss
flint-gs-2.1.1 tests/input/functions/lib/_replace-substring.scss
flint-gs-2.1.0 tests/input/functions/lib/_replace-substring.scss
flint-gs-2.0.9 tests/input/functions/lib/_replace-substring.scss
flint-gs-2.0.8 tests/input/functions/lib/_replace-substring.scss