Sha256: cf7c5e4f8d8f9176aef005ed02236a5362e7e2a0e631e9f096d78e5c7a2c4131

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

/*
 * Get last item in list
 */
@include describe("[function] last") {

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

	@include it("should expect to return the last item in list") {
		@include should(expect(
			flint-last($list)),
			to(be("three"))
		);
		@include should(expect(
			flint-last($list)),
			not-to(be("two"))
		);
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

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