You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/10/09 18:14:57 UTC
incubator-groovy git commit: Update Groovy Truth doc for arrays
(closes #136)
Repository: incubator-groovy
Updated Branches:
refs/heads/GROOVY_2_4_X 8c174d9a1 -> 7781e62f9
Update Groovy Truth doc for arrays (closes #136)
Note that non-empty arrays are true, not just collections.
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/7781e62f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/7781e62f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/7781e62f
Branch: refs/heads/GROOVY_2_4_X
Commit: 7781e62f9612b5f0990ace75864e3c3c9d31faa1
Parents: 8c174d9
Author: Jason Winnebeck <gi...@gillius.org>
Authored: Fri Oct 9 10:47:46 2015 -0400
Committer: pascalschumacher <pa...@gmx.net>
Committed: Fri Oct 9 18:14:15 2015 +0200
----------------------------------------------------------------------
src/spec/doc/core-semantics.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/7781e62f/src/spec/doc/core-semantics.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index aeec2f3..6999e1e 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -774,8 +774,8 @@ True if the corresponding Boolean value is `true`.
include::{projectdir}/src/spec/test/semantics/TheGroovyTruthTest.groovy[tags=boolean_truth,indent=0]
----
-=== Collections
-Non-empty Collections are true.
+=== Collections and Arrays
+Non-empty Collections and arrays are true.
[source,groovy]
----
include::{projectdir}/src/spec/test/semantics/TheGroovyTruthTest.groovy[tags=collection_truth,indent=0]