summaryrefslogtreecommitdiff
path: root/test/files/presentation
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/presentation')
-rw-r--r--test/files/presentation/ide-t1000609.check6
-rw-r--r--test/files/presentation/ide-t1000609/Runner.scala3
-rw-r--r--test/files/presentation/ide-t1000609/src/NoHyperlinking.scala8
3 files changed, 17 insertions, 0 deletions
diff --git a/test/files/presentation/ide-t1000609.check b/test/files/presentation/ide-t1000609.check
new file mode 100644
index 0000000000..1094dbdcbf
--- /dev/null
+++ b/test/files/presentation/ide-t1000609.check
@@ -0,0 +1,6 @@
+reload: NoHyperlinking.scala
+
+askHyperlinkPos for `foo` at (7,10) NoHyperlinking.scala
+================================================================================
+[response] found askHyperlinkPos for `foo` at (2,7) NoHyperlinking.scala
+================================================================================ \ No newline at end of file
diff --git a/test/files/presentation/ide-t1000609/Runner.scala b/test/files/presentation/ide-t1000609/Runner.scala
new file mode 100644
index 0000000000..1ef3cf9025
--- /dev/null
+++ b/test/files/presentation/ide-t1000609/Runner.scala
@@ -0,0 +1,3 @@
+import scala.tools.nsc.interactive.tests._
+
+object Test extends InteractiveTest \ No newline at end of file
diff --git a/test/files/presentation/ide-t1000609/src/NoHyperlinking.scala b/test/files/presentation/ide-t1000609/src/NoHyperlinking.scala
new file mode 100644
index 0000000000..d4bedaf9ee
--- /dev/null
+++ b/test/files/presentation/ide-t1000609/src/NoHyperlinking.scala
@@ -0,0 +1,8 @@
+class Foo {
+ def foo(a: Int) = a
+}
+
+object Test {
+ val a = new Foo
+ a.foo() /*#*/
+} \ No newline at end of file