Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri committed Apr 20, 2017
1 parent 55e5daf commit 3cbd0af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions language/analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function analyzeSyntaxOfText (text) {

console.log('Parts of speech:');
syntax.forEach((part) => {
console.log(`${part.tag}:\t ${part.text}`);
console.log(`${part.partOfSpeech.tag}:\t ${part.text.content}`);
});
})
.catch((err) => {
Expand Down Expand Up @@ -206,7 +206,7 @@ function analyzeSyntaxInFile (bucketName, fileName) {

console.log('Parts of speech:');
syntax.forEach((part) => {
console.log(`${part.tag}:\t ${part.text}`);
console.log(`${part.partOfSpeech.tag}:\t ${part.text.content}`);
});
})
.catch((err) => {
Expand Down

0 comments on commit 3cbd0af

Please sign in to comment.