Skip to content

Commit

Permalink
Update storage samples. (#263)
Browse files Browse the repository at this point in the history
* Update storage samples.

* Update dependencies.
  • Loading branch information
jmdobry authored Dec 9, 2016
1 parent 2f2c260 commit 3ad0f07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions speech/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"test": "cd ..; npm run st -- speech/system-test/*.test.js"
},
"dependencies": {
"@google-cloud/speech": "^0.4.0",
"node-record-lpcm16": "^0.1.4",
"yargs": "^6.4.0"
"@google-cloud/speech": "0.5.0",
"node-record-lpcm16": "0.1.4",
"yargs": "6.5.0"
},
"engines": {
"node": ">=4.3.2"
Expand Down
4 changes: 2 additions & 2 deletions speech/system-test/recognize.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ const text = `how old is the Brooklyn Bridge`;

describe(`speech:recognize`, () => {
it(`should run sync recognize`, () => {
assert.equal(run(`${cmd} sync ${filename}`, cwd), `Transcription: ${text}`);
assert.equal(run(`${cmd} sync ${filename}`, cwd).includes(text), true);
});

it(`should run async recognize`, () => {
assert.equal(run(`${cmd} async ${filename}`, cwd), `Transcription: ${text}`);
assert.equal(run(`${cmd} async ${filename}`, cwd).includes(text), true);
});

it(`should run streaming recognize`, () => {
Expand Down

0 comments on commit 3ad0f07

Please sign in to comment.