Skip to content

Commit e95d96e

Browse files
committed
Removing useless method.
1 parent c2f356b commit e95d96e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/assertOutputAnswer.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,4 @@ function removeTraillingNewLine(answer) {
3434
return answer.slice(0, (index + 2));
3535
}
3636

37-
function removeTraillingNewLineBAK(answer) {
38-
39-
if(
40-
answer.charAt(answer.length - 1) === "\n"
41-
&& answer.charAt(answer.length - 2) === "\n"
42-
) {
43-
return removeTraillingNewLine(answer.slice(0, answer.length - 1));
44-
}
45-
else {
46-
return answer;
47-
}
48-
}
49-
5037
export { assertOutputAnswer };

0 commit comments

Comments
 (0)