Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 87e5350

Browse files
committed
cs fixes
1 parent d5dab55 commit 87e5350

File tree

7 files changed

+2
-13
lines changed

7 files changed

+2
-13
lines changed

src/scss/_camelize.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
$result: "";
1717
$exclude: " ", "-", "", "", "_", ",", ";", ":", ".";
1818

19-
@while str-length($progress) > 0 {
19+
@while str-length($progress) > 0 {
2020
$char: str-slice($progress, 1, 1);
2121

2222
@if contain($exclude, $char) {

tests/specs/node-scss/_str-lcfirst.test.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
@include test-module("str-lcfirst") {
22
// Testing str-lcfirst functions
33
@include test("str-lcfirst [function] turns first letter of $string into lower case.") {
4-
54
$expect: "aBCDE";
65

76
@include assert-equal(str-lcfirst(ABCDE), $expect, "should lower case first character from string.");
87
}
98

109
@include test("str-lcfirst [function] dont turns first letter of $string into lower case.") {
11-
1210
$expect: "abcde";
1311

1412
@include assert-equal(str-lcfirst(abcde), $expect, "should upper case first character from string");
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
@include test-module("str-ucfirst") {
22
// Testing str-ucfirst functions
33
@include test("str-ucfirst [function] turns first letter of $string into upper case.") {
4-
54
$expect: "Abcde";
6-
75
@include assert-equal(str-ucfirst(abcde), $expect, "should upper case first character from string");
86

97
$expect: "AbcDe";
10-
118
@include assert-equal(str-ucfirst(abcDe), $expect, "should upper case first character from string");
129
}
1310
}

tests/specs/scss/_str-lcfirst.test.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
@include test-module("str-lcfirst") {
22
// Testing str-lcfirst functions
33
@include test("str-lcfirst [function] turns first letter of $string into lower case.") {
4-
54
$expect: "aBCDE";
65

76
@include assert-equal(str-lcfirst(ABCDE), $expect, "should lower case first character from string.");
87
}
98

109
@include test("str-lcfirst [function] dont turns first letter of $string into lower case.") {
11-
1210
$expect: "abcde";
1311

1412
@include assert-equal(str-lcfirst(abcde), $expect, "should not upper case first character from string");

tests/specs/scss/_str-split.test.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@include test-module("str-split") {
22
// Testing str-split functions
33
@include test("str-split [function] should replace substring by another substring in string.") {
4-
@include assert-equal(str-split("Hello Berlin !"), ("Hello Berlin !",), "");
4+
@include assert-equal(str-split("Hello Berlin !"), ("Hello Berlin !", ), "");
55
@include assert-equal(str-split("Hello Berlin !", ""), ("H", "e", "l", "l", "o", " ", "B", "e", "r", "l", "i", "n", " ", "!"), "");
66
@include assert-equal(str-split("Hello Berlin !", " "), ("Hello", "Berlin", "!"), "");
77
// @include assert-equal(str-split("Hello Berlin !", " ", 1), ("Hello",) , "");
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
@include test-module("str-ucfirst") {
22
// Testing str-ucfirst functions
33
@include test("str-ucfirst [function] turns first letter of $string into upper case.") {
4-
54
$expect: "Abcde";
6-
75
@include assert-equal(str-ucfirst(abcde), $expect, "should upper case first character from string");
86

97
$expect: "AbcDe";
10-
118
@include assert-equal(str-ucfirst(abcDe), $expect, "should upper case first character from string");
129
}
1310
}

tests/specs/scss/_str-ucwords.test.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@include test-module("str-ucwords") {
22
// Testing str-ucwords functions
33
@include test("str-ucwords [function] turns first letter of $string into lower case.") {
4-
54
$expect: "Lorem Ipsum Dolor Sit Amet, Consectetur Adipisicing Elit, Sed Do Eiusmod Tempor Incididunt Ut Labore Et Dolore Magna Aliqua.";
65

76
@include assert-equal(str-ucwords("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."), $expect, "should lower case first character from string.");

0 commit comments

Comments
 (0)