Differential D13534 Diff 33881 src/lint/linter/__tests__/xhpast/single-pass-adjacent-patches.lint-test
Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/__tests__/xhpast/single-pass-adjacent-patches.lint-test
<?php | <?php | ||||
// This test is checking that the LintPatcher correctly applies adjacent patches | // This test is checking that the LintPatcher correctly applies adjacent patches | ||||
// with large character delta effects. | // with large character delta effects. | ||||
function f( ) { | function f( ) { | ||||
g( ); | g( ); | ||||
} | } | ||||
~~~~~~~~~~ | ~~~~~~~~~~ | ||||
warning:4:12 | warning:5:12 | ||||
warning:5:5 | warning:6:5 | ||||
~~~~~~~~~~ | ~~~~~~~~~~ | ||||
<?php | <?php | ||||
// This test is checking that the LintPatcher correctly applies adjacent patches | // This test is checking that the LintPatcher correctly applies adjacent patches | ||||
// with large character delta effects. | // with large character delta effects. | ||||
function f() { | function f() { | ||||
g(); | g(); | ||||
} | } |