Skip to content

Commit bbf9491

Browse files
author
Steve Herschleb
committed
fix logic error in tests.js
1 parent 0bdbb73 commit bbf9491

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function sentiment() {
107107
//Targeted Sentiment
108108
function sentiment_targeted() {
109109
console.log('Checking targeted sentiment . . . ');
110-
alchemyapi.sentiment_targeted('random', test_text, null, null, function(response) {
110+
alchemyapi.sentiment_targeted('text', test_text, null, null, function(response) {
111111
assert.equal(response['status'],'ERROR'); //did not supply the target
112112

113113
alchemyapi.sentiment_targeted('random', test_text, 'heart', null, function(response) {

0 commit comments

Comments
 (0)