We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2f356b commit e95d96eCopy full SHA for e95d96e
test/assertOutputAnswer.js
@@ -34,17 +34,4 @@ function removeTraillingNewLine(answer) {
34
return answer.slice(0, (index + 2));
35
}
36
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
50
export { assertOutputAnswer };
0 commit comments