'use strict';

/* global describe it */

var assert = require('assert');
// var noThrow = require('../lib');

describe('no-throw', function() {
  it('should have unit test!', function() {
    assert(false, 'we expected this package author to add actual unit tests.');
  });
});

@@ -70,11 +70,8 @@
 ');%0A
-// 
 var 
@@ -104,163 +104,539 @@
 );%0A%0A
-describe('no-throw', function() %7B%0A  it('should have unit test!', function() %7B%0A    assert(false, 'we expected this package author to add actual unit tests.'
+var sqrt = function(n) %7B%0A  if (n %3C 0) %7B%0A    throw new Error('Encountered a complication.');%0A  %7D%0A%0A  return Math.sqrt(n);%0A%7D;%0A%0Adescribe('no-throw', function() %7B%0A  it('prevents an exception being thrown', function() %7B%0A    assert.deepEqual(%0A      noThrow(sqrt)(-1),%0A      %7B%0A        error: new Error('foo'),%0A        value: undefined%0A      %7D%0A    );%0A  %7D);%0A%0A  it('provides a value when an exception isn%5C't thrown', function() %7B%0A    assert.deepEqual(%0A      noThrow(sqrt)(100),%0A      %7B%0A        error: undefined,%0A        value: 10%0A      %7D%0A    
 );%0A 

Add tests