summaryrefslogtreecommitdiff
path: root/test/files/presentation/doc/src/p/Base.scala
diff options
context:
space:
mode:
authorEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-03-26 10:46:58 +0400
committerEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-03-26 14:38:43 +0400
commit74de4ba0a295db8754d0aee12c01d51af0d12d8b (patch)
treec82662b2fdfee0d697760ccffcda5877ede2d4c1 /test/files/presentation/doc/src/p/Base.scala
parent59d4998cf4a19eb5d44118d4867c2370e9a935e5 (diff)
downloadscala-74de4ba0a295db8754d0aee12c01d51af0d12d8b.tar.gz
scala-74de4ba0a295db8754d0aee12c01d51af0d12d8b.tar.bz2
scala-74de4ba0a295db8754d0aee12c01d51af0d12d8b.zip
Improve testing interactive experience.
Currently the exceptions that happen in the test are swallowed, as the JVM is forced to exit before printing the stack trace. Also assert message doesn't contain information about the problem. The call to "sys.exit" masks bugs in the testing framework, that has to be addressed more elaborately, so here we remove it. Also add the message parameter to assert to make it more informative. After removing "sys.exit" call, doc test starts failing. I suspect there might be a problem when expanding doc variables, but this should be addressed separately.
Diffstat (limited to 'test/files/presentation/doc/src/p/Base.scala')
-rwxr-xr-xtest/files/presentation/doc/src/p/Base.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/presentation/doc/src/p/Base.scala b/test/files/presentation/doc/src/p/Base.scala
index 9031de3e3e..d91632b6f6 100755
--- a/test/files/presentation/doc/src/p/Base.scala
+++ b/test/files/presentation/doc/src/p/Base.scala
@@ -1,7 +1,7 @@
package p
/**
- * @define BaseComment $BaseVar comment.
+ * @define BaseComment This is $BaseVar comment.
*/
trait Base {
/**