We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36126b4 commit d6e4566Copy full SHA for d6e4566
1 file changed
test/index.coffee
@@ -407,10 +407,12 @@ describe 'js2cpp', () ->
407
408
describe 'jsdoc integration', () ->
409
it 'allows you to create variables of unknown types', () ->
410
- ok /String x/.test cli.sync('/** @type {string} **/ var x;')
+ javascript_code = cli.sync '/** @type {string} **/ var x;'
411
+ ok /String x/.test(javascript_code), javascript_code
412
413
it 'allows you to create arrays of unknown types', () ->
- ok /Array<double>/.test cli.sync('/** @type {number[]} **/ var x = [];')
414
+ javascript_code = cli.sync '/** @type {number[]} **/ var x = [];'
415
+ ok /Array<double>/.test(javascript_code), javascript_code
416
417
it 'can use this (lite)', () ->
418
javascript_code = """
0 commit comments