]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Split php-tags-bad.lint-test to two tests
authorvrana <jakubv@fb.com>
Wed, 30 Jan 2013 20:44:06 +0000 (12:44 -0800)
committervrana <jakubv@fb.com>
Wed, 30 Jan 2013 20:46:30 +0000 (12:46 -0800)
Summary: D1818 effectivelly disabled this test case.

Test Plan: This diff.

Reviewers: epriestley, nh

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4746

src/lint/linter/__tests__/xhpast/php-tags-bad.lint-test
src/lint/linter/__tests__/xhpast/php-tags-short.lint-test [new file with mode: 0644]

index c1364ffa03e788055df2bc03864cab23878f32d4..e749bfa60b53f5db60e8f0df8ed288257b5c7353 100644 (file)
@@ -1,5 +1,5 @@
 garbage garbage
-<?
+<?php
 
 ?>
 ~~~~~~~~~~
@@ -7,6 +7,6 @@ error:1:1
 error:4:1
 ~~~~~~~~~~
 garbage garbage
-<?
+<?php
 
 ?>
diff --git a/src/lint/linter/__tests__/xhpast/php-tags-short.lint-test b/src/lint/linter/__tests__/xhpast/php-tags-short.lint-test
new file mode 100644 (file)
index 0000000..61f018b
--- /dev/null
@@ -0,0 +1,8 @@
+<?
+
+~~~~~~~~~~
+error:1:1
+~~~~~~~~~~
+<?php
+
+