From 8a75ae9d7d1ea9b84c272693af910ba88fe878a0 Mon Sep 17 00:00:00 2001 From: Daisaku Suzuki Date: Mon, 19 Nov 2018 22:14:43 +0900 Subject: [PATCH] Fixed sample code for Kotlin --- docs/userguide/003_Getting_Started.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/userguide/003_Getting_Started.adoc b/docs/userguide/003_Getting_Started.adoc index fa95921f04..28e09b0cd8 100644 --- a/docs/userguide/003_Getting_Started.adoc +++ b/docs/userguide/003_Getting_Started.adoc @@ -116,7 +116,7 @@ class MyArchitectureTest { @ArchTest fun rule_as_method(classes: JavaClasses) { - ArchRule rule = ArchRuleDefinition.noClasses().should()... + val rule = ArchRuleDefinition.noClasses().should()... rule.check(classes) } }