Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ukrbublik committed Mar 8, 2017
1 parent 67cd5ea commit 8a632df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if (cluster.isMaster) {
var a = shm.create(10, 'Float32Array', key);
var b = shm.create(10, 'Float32Array', key);
assert(a instanceof Float32Array);
assert(a.key == key);
assert(b === null);

// Assert that getting shm by unexisting key will fail
Expand Down

0 comments on commit 8a632df

Please sign in to comment.