Skip to content

Commit c28a236

Browse files
committed
1 parent 0dd0b3c commit c28a236

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var expect = require('chai').expect
77
//, TestUtils = require('react-addons-test-utils')
88
, El = require('../src/if.jsx')
99
, nullElement = '<noscript></noscript>'
10-
, test = 'test'
10+
, textTest = 'test'
1111
;
1212

1313
function check(el, eq) {
@@ -61,6 +61,6 @@ describe('React IF component testing:', function() {
6161
check(<El if={!!1} then={true} />, '<span></span>');
6262
check(<El if={!!1} then={function() { return 5 + 5; }} />, '<span>10</span>');
6363
check(<El if={!!1} then={function() { return 3 + 3; }()} />, '<span>6</span>');
64-
check(<El if={!!1} then={function() { return test; }} />, '<span>test</span>');
64+
check(<El if={!!1} then={function() { return textTest; }} />, '<span>test</span>');
6565
});
6666
});

0 commit comments

Comments
 (0)