Skip to content

Commit

Permalink
chapter 02: fix isValidLogFileName in order to fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
devcorpio committed Jan 9, 2019
1 parent 6caedc8 commit 0f54abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter_02-a-first-unit-test/LogAn/logAnalyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function logAnalyzer() {
* @return {boolean}
*/
function isValidLogFileName(fileName) {
if (fileName.endsWith('.SLF')) {
if (!fileName.endsWith('.SLF')) {
return false;
}

Expand Down

0 comments on commit 0f54abd

Please sign in to comment.