Skip to main content
Module

x/ramda/test/pair.js

:ram: Practical functional Javascript
Latest
File
var R = require('../source');var eq = require('./shared/eq');

describe('pair', function() {
it('creates a two-element array', function() { eq(R.pair('foo', 'bar'), ['foo', 'bar']); eq(R.pair('foo')('bar'), ['foo', 'bar']); });
});