From 59b8421d729576f75aed112a26e1bfaf19557e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mazanik?= <5843939+Yanatrill@users.noreply.github.com> Date: Thu, 21 Nov 2019 19:18:19 +0100 Subject: [PATCH] fix $ escaping in spock_primer.adoc (#1052) Example before a fix cannot be compiled because there is used GString and $ have special meaning so we need escape $. --- docs/spock_primer.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spock_primer.adoc b/docs/spock_primer.adoc index ca4e751afd..7d1e6605ca 100644 --- a/docs/spock_primer.adoc +++ b/docs/spock_primer.adoc @@ -632,10 +632,10 @@ Spock directly supports this style of specification with the `given:` label: given: "an empty bank account" // ... -when: "the account is credited $10" +when: "the account is credited \$10" // ... -then: "the account's balance is $10" +then: "the account's balance is \$10" // ... ----