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

« back to all changes in this revision

Viewing changes to src/lint/linter/__tests__/xhpast/single-pass-adjacent-patches.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
<?php
 
2
// This test is checking that the LintPatcher correctly applies adjacent patches
 
3
// with large character delta effects.
 
4
function f(                                                             ) {
 
5
  g( );
 
6
}
 
7
~~~~~~~~~~
 
8
warning:4:12
 
9
warning:5:5
 
10
~~~~~~~~~~
 
11
<?php
 
12
// This test is checking that the LintPatcher correctly applies adjacent patches
 
13
// with large character delta effects.
 
14
function f() {
 
15
  g();
 
16
}