Skip to content

Commit

Permalink
update tests for latest AVA version
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 31, 2015
1 parent 426c5d3 commit f9584de
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
'use strict';
var test = require('ava');
var winRelease = require('./');
import test from 'ava';
import fn from './';

test(function (t) {
t.is(winRelease('5.1.2600'), 'XP');
t.is(winRelease('10.0.10240'), '10');
t.end();
test(t => {
t.is(fn('5.1.2600'), 'XP');
t.is(fn('10.0.10240'), '10');
});

0 comments on commit f9584de

Please sign in to comment.