Sha256: 5ceaaf83582c0aad74a4add2883e40439a237a5bb3d453a372d20e9724515044

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

/*
 * Removes all false and null values from $list
 */
@include describe("[function] purge") {

	$list: (true, false, "string", "", null, 1);

	@include it("should expect all falsey values to be removed") {
		@include should(expect(
			flint-purge($list)),
			to(be((true, "string", 1)))
		);
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flint-gs-2.0.6 tests/input/functions/lib/_purge.scss
flint-gs-2.0.5 tests/input/functions/lib/_purge.scss
flint-gs-2.0.4 tests/input/functions/lib/_purge.scss