Skip to content

Commit e668c56

Browse files
committed
use correct require reference
1 parent 1c8ed9b commit e668c56

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/test.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var assert = require('assert'),
2-
mJsome = require('../script.js'),
2+
jsome = require('../script.js'),
33
chalk = require('chalk'),
44
enc = require('jsesc'),
55
y = chalk.yellow,
@@ -16,7 +16,7 @@ describe('Jsome run with', function () {
1616
y(', ') + y('"') + m('two') +
1717
y('"') + y(']') +
1818
'\n' + y('}')
19-
var actual = mJsome.getColoredString(
19+
var actual = jsome.getColoredString(
2020
{'string': 'value', 'list': ['one', 'two']}
2121
)
2222

@@ -41,8 +41,8 @@ describe('Jsome run with', function () {
4141
y(', ') + y('"') + m('two') +
4242
y('"') + y(']') +
4343
'\n' + y('}')
44-
mJsome.params.lintable = true
45-
var actual = mJsome.getColoredString(
44+
jsome.params.lintable = true
45+
var actual = jsome.getColoredString(
4646
{'string': 'value', 'list': ['one', 'two']}
4747
)
4848

@@ -55,5 +55,5 @@ describe('Jsome run with', function () {
5555
assert.equal(enc(actual), enc(expected))
5656
})
5757
})
58-
58+
5959
})

0 commit comments

Comments
 (0)