aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.php.ui.tests/workspace/codeassist/php53/thrownew.pdtt')
-rw-r--r--tests/org.eclipse.php.ui.tests/workspace/codeassist/php53/thrownew.pdtt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/org.eclipse.php.ui.tests/workspace/codeassist/php53/thrownew.pdtt b/tests/org.eclipse.php.ui.tests/workspace/codeassist/php53/thrownew.pdtt
new file mode 100644
index 0000000..967815f
--- /dev/null
+++ b/tests/org.eclipse.php.ui.tests/workspace/codeassist/php53/thrownew.pdtt
@@ -0,0 +1,14 @@
+--TEST--
+Test instance of class
+--PREFERENCES--
+org.eclipse.php.core/contentAssistInsertCompletion=true
+--FILE--
+<?php
+namespace test;
+throw new Exception|
+?>
+--EXPECT--
+<?php
+namespace test;
+throw new \Exception()
+?>