Skip to content

Commit

Permalink
* Refactored Pub/Sub samples into nice command-line programs, like th…
Browse files Browse the repository at this point in the history
…e new Cloud Storage samples (#164)

* Brought Pub/Sub samples code coverage up to 98.66%
  • Loading branch information
jmdobry authored and Ace Nassri committed Nov 21, 2022
1 parent cad2e8c commit 2deb9e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compute/system-test/vms.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var vmsExample = require('../vms');
describe('computeengine:vms', function () {
it('should retrieve vms', function (done) {
vmsExample.main(function (err, result) {
assert(!err);
assert.ifError(err);
assert(result);
assert(Array.isArray(result));
done();
Expand Down
2 changes: 1 addition & 1 deletion compute/system-test/vms_api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var vmsExample = require('../vms_api');
describe('computeengine:vms_api', function () {
it('should retrieve vms', function (done) {
vmsExample.main(function (err, result) {
assert(!err);
assert.ifError(err);
assert(result);
done();
});
Expand Down

0 comments on commit 2deb9e5

Please sign in to comment.