~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to src/lint/linter/__tests__/gjslint/gjslint.lint-test

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2014-11-01 23:20:06 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20141101232006-mvlnp0cil67tsboe
Tags: upstream-0~git20141101/arcanist
Import upstream version 0~git20141101, component arcanist

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
var x = 'some really really really really really really really long string';
 
2
var y = 'some really really really really really really really really really long string',
 
3
    z = 14;
 
4
var obj = {name : 'vm'};
 
5
var x
 
6
var result = true
 
7
             || false;
 
8
/**
 
9
 * @param x
 
10
 * @return {string}
 
11
 */
 
12
function foo(x) {
 
13
  return 'bar';
 
14
}
 
15
~~~~~~~~~~
 
16
error:2:
 
17
error:4:
 
18
error:5:
 
19
error:7:
 
20
error:9:
 
 
b'\\ No newline at end of file'