Skip to content

Commit f9584de

Browse files
committed
update tests for latest AVA version
1 parent 426c5d3 commit f9584de

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

test.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
'use strict';
2-
var test = require('ava');
3-
var winRelease = require('./');
1+
import test from 'ava';
2+
import fn from './';
43

5-
test(function (t) {
6-
t.is(winRelease('5.1.2600'), 'XP');
7-
t.is(winRelease('10.0.10240'), '10');
8-
t.end();
4+
test(t => {
5+
t.is(fn('5.1.2600'), 'XP');
6+
t.is(fn('10.0.10240'), '10');
97
});

0 commit comments

Comments
 (0)