summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-08-11 16:02:53 +0000
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-08-11 16:02:53 +0000
commite4288e5143dc85e9b22d881bf5b19996597722f6 (patch)
treed0a065423ddf8dabf67705c755671d4049c98050 /test/scaladoc/resources
parent386dddde5361e5c2b9876dbb8855a0f1a81ca95b (diff)
downloadscala-e4288e5143dc85e9b22d881bf5b19996597722f6.tar.gz
scala-e4288e5143dc85e9b22d881bf5b19996597722f6.tar.bz2
scala-e4288e5143dc85e9b22d881bf5b19996597722f6.zip
Fixes SI-4507.
Diffstat (limited to 'test/scaladoc/resources')
-rw-r--r--test/scaladoc/resources/SI_4507.scala19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/scaladoc/resources/SI_4507.scala b/test/scaladoc/resources/SI_4507.scala
new file mode 100644
index 0000000000..5b8ed9cd35
--- /dev/null
+++ b/test/scaladoc/resources/SI_4507.scala
@@ -0,0 +1,19 @@
+/**
+ * <pre>
+ * scala> (new AndOrSpec).execute()
+ * AndOrSpec:
+ * The ScalaTest Matchers DSL
+ * should provide
+ * an and operator that
+ * - returns silently when evaluating true and true
+ * - throws a TestFailedException when evaluating true and false
+ * - that throws a TestFailedException when evaluating false and true
+ * - throws a TestFailedException when evaluating false and false
+ * an or operator that
+ * - returns silently when evaluating true or true
+ * - returns silently when evaluating true or false
+ * - returns silently when evaluating false or true
+ * - throws a TestFailedException when evaluating false or false
+ * </pre>
+ */
+class SI_4507