~ubuntu-branches/ubuntu/trusty/php-codesniffer/trusty

« back to all changes in this revision

Viewing changes to PHP_CodeSniffer-1.5.0RC2/CodeSniffer/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.js

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2013-07-12 15:16:25 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130712151625-4autdc0twzbueha9
Tags: 1.5.0~rc2-1
* New upstream release.
* Refreshed patch.
* Standards-Version is now 3.9.4.
* Canonical VCS URLs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
result = 1 + 2;
 
4
result = 1  + 2;
 
5
result = 1  +   2;
 
6
result = 1 +2;
 
7
result = 1+ 2;
 
8
result = 1+2;
 
9
 
 
10
result = 1 - 2;
 
11
result = 1  - 2;
 
12
result = 1  -   2;
 
13
result = 1 -2;
 
14
result = 1- 2;
 
15
result = 1-2;
 
16
 
 
17
result = 1 * 2;
 
18
result = 1  * 2;
 
19
result = 1  *   2;
 
20
result = 1 *2;
 
21
result = 1* 2;
 
22
result = 1*2;
 
23
 
 
24
result = 1 / 2;
 
25
result = 1  / 2;
 
26
result = 1  /   2;
 
27
result = 1 /2;
 
28
result = 1/ 2;
 
29
result = 1/2;
 
30
 
 
31
result = 1 % 2;
 
32
result = 1  % 2;
 
33
result = 1  %   2;
 
34
result = 1 %2;
 
35
result = 1% 2;
 
36
result = 1%2;
 
37
result = '100%';
 
38
 
 
39
result += 4;
 
40
result+=4;
 
41
result -= 4;
 
42
result-=4;
 
43
result /= 4;
 
44
result/=4;
 
45
result *=4;
 
46
result*=4;
 
47
 
 
48
$.localScroll({offset: {top: -32}});
 
49
 
 
50
switch (result) {
 
51
        case -1:
 
52
                break;
 
53
}
 
 
b'\\ No newline at end of file'