main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
217 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | var iterate = require('iterate-iterator');
|
---|
4 |
|
---|
5 | module.exports = function testIterator(iterator, expected, t, msg) {
|
---|
6 | t.deepEqual(iterate(iterator), expected, 'iterator yields expected values: ' + msg);
|
---|
7 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.